View source: R/Call_tag_clusters.R
| call_TCs | R Documentation |
Call TSS or PAS sites as clusters of reads from 5'- or 3'-tag sequencing data
call_TCs(
data,
min_support = length(data),
min_tpm = 0.05,
max_gap = 50,
q_trim = 0.05,
min_score = 0.25
)
data |
|
min_support |
Integer >= 1 (but not exceeding the number of replicates in |
min_tpm |
Non-negative numeric. |
max_gap |
Non-negative integer. |
q_trim |
Numeric in the range (0, 1), or NULL. |
min_score |
Non-negative numeric. |
GRanges object containing coordinates of called tag clusters.
The input data is returned by the load_BAM_files() function.
Only genomic positions with non-zero signal in at least min_support replicates are considered for TSS/PAS calling.
After merging the replicates, only genomic positions with at least min_tpm signal are considered as positions with valid signal.
Genomic positions with valid signal separated by not more than max_gap bases are merged into tag cluster (TC) candidates.
TC candidates are trimmed to retain only genomic positions containing 1 - q_trim fraction of the signal.
Only TCs with TPM (averaged among replicates) exceeding min_score are considered valid TSS/PAS.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.