cpm {autonomics} | R Documentation |
Get / Set cpm matrix
cpm(object) ## S4 method for signature 'SummarizedExperiment' cpm(object) cpm(object) <- value ## S4 replacement method for signature 'SummarizedExperiment,matrix' cpm(object) <- value ## S4 replacement method for signature 'SummarizedExperiment,numeric' cpm(object) <- value
object |
SummarizedExperiment |
value |
cpm matrix (features x samples) |
cpm matrix (get) or updated object (set)
file <- download_data('billing19.rnacounts.txt') object <- read_rnaseq_counts(file, plot=FALSE) cpm(object) <- values(object) cpm(object)[1:3, 1:3]