runCIN | R Documentation |
Computes chromosomal instability scores based on copy number
variation results according to Drews et al., 2022. Requires the results
of runCNV()
. See details for more.
runCIN(
object,
bin_size = 1e+06,
window_k = 10,
noise = 0.035,
gene_pos_df = SPATA2::gene_pos_df,
chrom_regions_df = SPATA2::cnv_regions_df,
coverage_model = SPATA2::coverage_model,
verbose = NULL
)
object |
An object of class |
bin_size |
The size used for the chromosomal binning. Defaults 1.000.000 base pairs. |
window_k |
Given to |
noise |
Numeric value. Sets the level of noise to add. |
gene_pos_df |
Data.frame defining the positions of genes on the chromosomes. |
chrom_regions_df |
Data.frame defining the chromosomal regions. |
coverage_model |
A formula. |
verbose |
Logical. If (Warning messages will always be printed.) |
Adds a total of 18 new numeric variables to the meta data.frame.
CX1, CX2, CX3, ..., CX17: Chromosomal instability scores as described in the paper referenced below.
ploidy: Quantification of abnormal ploidy.
Adding these variables is forced! Existing variable with equal names will be overwritten!
Requires the packages CINSignatureQuantification
and imputeTS
to be installed.
Drews, R.M., Hernando, B., Tarabichi, M. et al. A pan-cancer compendium of chromosomal instability. Nature 606, 976–983 (2022). https://doi.org/10.1038/s41586-022-04789-9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.