cnaSignal | R Documentation |
Calculate the Mean of Squared CNA Values
cnaSignal(
cna,
gene.quantile = NULL,
cell.quantile.for.genes = NULL,
refCells = NULL,
samples = NULL
)
cna |
a matrix of gene rows by cell columns containing CNA values. |
gene.quantile |
calculate CNA measures including only top / "hotspot" genes according to their squared CNA values across all cells. Value between 0 and 1 denoting the quantile of genes to include. Default: NULL |
refCells |
a character vector of cell ids (e.g. normal reference cell ids) to exclude from calculation of cnaHotspotGenes. Only relevant if gene.quantile is not NULL. Default: NULL |
samples |
if cnaHotspotGenes should be calculated within cell subgroups, provide i) a list of cell id groups, ii) a character vector of sample names to group cells by, iii) TRUE to extract sample names from cell ids and subsequently group. Default: NULL |
... |
other arguments passed to scalop::unique_sample_names if samples = TRUE. |
a numeric vector of CNA signal values or the Mean of Squared CNA values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.