View source: R/log_transform.R
log_transform | R Documentation |
Performs log transformation of expression values (log2). Values below zero will be set to zero and if zero values are available a pseudocount will be added.
log_transform(se, assay = 1, pseudocount = 1)
se |
|
assay |
Character or integer. Name or number of assay containing expression data to be log transformed. |
pseudocount |
Numeric. Value added to expression values before log transformation (relevant for count data containing zero values). |
RangedSummarizedExperiment-class
object with normalized log transformed expression values in additional assay
called <assay>.log.
data("se.probeset")
se.probeset = log_transform(se = se.probeset)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.