inferCNV | R Documentation |
This function estimates the CNV score based on expression data
inferCNV( expmat, nullmat = NULL, species = c("human", "mouse"), k = 100, skip = 25, min_geneset = 10, verbose = TRUE )
expmat |
Matrix of gene expression profiles or signatures with genes '(entrezID) in rows and samples in columns |
nullmat |
Optional matrix with same number of rows as |
species |
Character string indicating the species, either human or mouse |
k |
Integer indicating the number of genes per set |
skip |
Interger indicating the displacement of the window for selecting the k genes |
min_geneset |
Integer indicating the minimum size for the genesets |
verbose |
Logical, whether progress should be reported |
Object of class inferCNV, which is a list containing matrix of nes, and parameters (param), including species, window (k) and skip
eh <- ExperimentHub::ExperimentHub() dset <- eh[["EH5419"]] tpm_matrix <- SummarizedExperiment::assays(dset)$TPM set.seed(1) tpm_matrix <- tpm_matrix[, sample(ncol(tpm_matrix), 500)] cnv <- inferCNV(tpm_matrix) class(cnv) names(cnv) cnv$nes[1:5, 1:3]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.