pkgdown/header.html

Skip to contents

Internal function used by PRIMEmodel to compute normalized and raw signal profiles, along with metadata including total signal (sum_count) per window.

Usage

plc_profile_chr(
  current_region_gr,
  filtered_ctss_gr,
  chr_name,
  file_path,
  output_file_prefix,
  ext_dis,
  save_count_profiles = FALSE,
  file_type = "parquet"
)

Arguments

current_region_gr

GRanges of sliding windows for a single chromosome.

filtered_ctss_gr

GRanges of CTSS positions for the same chromosome.

chr_name

Chromosome name.

file_path

Output folder path.

output_file_prefix

Output file prefix (excluding chr/suffix/ext).

ext_dis

Extension distance used (to recover window length).

save_count_profiles

Logical. Save raw count profiles as well?

file_type

Output format: "csv", "parquet", or "npz".

Value

A list with chromosome name and processing status.