Description Usage Arguments Details Value Examples
View source: R/gemini_calculate_lfc.R
Given a gemini.input object, calculates log-fold change from counts
.
1 2 | gemini_calculate_lfc(Input, counts = "counts", sample.column.name = "samplename",
normalize = TRUE, CONSTANT = 32)
|
Input |
a gemini.input object containing an object named |
counts |
a character indicating the name of a matrix of counts within |
sample.column.name |
a character or integer indicating which column of |
normalize |
a logical indicating if counts should be median-normalized, see Details (default = TRUE) |
CONSTANT |
a numeric indicating a constant value that shifts counts to reduce outliers, see Details (default = 32). |
See Methods from Zamanighomi et al. 2019 for a comprehensive description of the calculation of log-fold change, normalization, and count processing.
If multiple early time-points are provided for a given sample, they are treated as replicates and averaged, and used to compute log-fold change against any specified late time points.
If a sample has a specific early-time point, these are matched as long as the sample names are identical between
the early and late timepoints in sample.column.name
a gemini object identical to Input
that also contains new objects called LFC
and sample.annot
.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.