View source: R/keep_only_high_level_cnas.R
keep_only_high_level_cnas | R Documentation |
Keep only high-level CNAs (set low-level CNAs to 0)
keep_only_high_level_cnas(cna_mat)
cna_mat |
a matrix or vector of 5-valued CNA (copy number alteration) data; possible values: -2: Deep deletion, -1: Shallow deletion, 0: Diploid (or default copy number), 1: Low-level gain, 2: High-level amplification |
a matrix where low-level gains have been set to 0
Rileen Sinha (rileen@gmail.com), Augustin Luna (aluna@jimmy.harvard.edu)
set.seed(1) tmp <- sample(c(-2, -1, 0, 1, 2), 100, replace=TRUE) mat <- matrix(tmp, 10, 10) keep_only_high_level_cnas(mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.