View source: R/qc_and_pre-processing.R
log_cpm_transform | R Documentation |
Performs a logCPM transformation of RNA-seq raw count data using the counts per million (CPM) method from the edgeR library. In addition to the log CPM transformation, the function can also plot a boxplot as sanity check for logCPM transformation of the gene expression matrix. The first series of boxplots display the distribution of the raw counts for each sample in thousands, while the second series of boxplots show the distribution of the logCPM normalised gene expression matrix.
log_cpm_transform(dataset, boxplot = TRUE)
dataset |
An unnormalised gene expression matrix containing raw RNA-seq (integer) counts with gene symbols as row names and sample IDs as column names. |
boxplot |
Optional argument that is a boolean (TRUE or FALSE) indicating whether boxplots displaying before and after log CPM transformation should be displayed. (Default=TRUE) |
A logCPM transformed gene expression data matrix with gene symbols as row names and samples names / IDs as column names.
Rishabh Kaushik and Taniya Pal rishabh.kaushik.126@cranfield.ac.uk, taniya.pal.094@cranfiled.ac.uk
## Not run: log_cpm_transform(data.matrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.