.cna_gene_binary | R Documentation |
Make Binary Matrix From CNA data frame
.cna_gene_binary(cna, samples, specify_panel, high_level_cna_only)
cna |
A data frame of copy number alterations. If inputed the outcome will be added to the matrix with columns ending in ".del" and ".amp". Default is NULL. |
samples |
a character vector specifying which samples should be included in the resulting data frame. Default is NULL is which case all samples with an alteration in the mutation, cna or fusions file will be used. If you specify a vector of samples that contain samples not in any of the passed genomic data frames, 0's (or NAs when appropriate if specifying a panel) will be returned for every column of that patient row. |
specify_panel |
Default is |
high_level_cna_only |
If TRUE, only deep deletions (-2, -1.5) or high level amplifications (2) will be counted as events
in the binary matrix. Gains (1) and losses (1) will be ignored. Default is |
a data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.