| aberration | R Documentation |
Reads a CNV (Copy Number Variation) data file and identifies genomic segments showing significant aberrations (gains or losses) based on a user-defined effect size threshold. Results are split by chromosome and returned as a named list.
aberration(cnv_data_file, effect_size = 0.3)
cnv_data_file |
Character. Path to the CNV data file
(whitespace-delimited, with a header). Must contain columns:
|
effect_size |
Numeric. Threshold for calling aberrations. Segments
with |
Segments with Segment_Mean between -effect_size and
effect_size (inclusive) are considered neutral and excluded from
the output. The default threshold of 0.3 is widely used in TCGA-based
CNV analyses. This function is cancer-type agnostic and can be applied
to CNV data from any solid tumour.
A named list where each element corresponds to a chromosome
(e.g., "1", "2", ...) and contains a data frame of
aberrant segments for that chromosome. Each data frame includes the
columns: Chromosome, Start, End,
Num_Probes, Segment_Mean, Sample,
Aberration (Gain or Loss), and Aberration_Code
(1 = Gain, 0 = Loss).
Mermel CH, et al. (2011). GISTIC2.0 facilitates sensitive and confident localization of the targets of focal somatic copy-number alteration in human cancers. Genome Biol, 12(4):R41.
cnv_file <- system.file("extdata", "cnv_data.txt", package = "RiskyCNV")
aberrations <- aberration(
cnv_data_file = cnv_file,
effect_size = 0.3
)
print(aberrations[["2"]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.