Description Usage Arguments Value Examples
View source: R/p03_signal_fold_change_functions.R
For each sample, any value less than 1 is set to 1 to avoid negative log2 value.
1 2 3 4 5 6 7 8 | get_fold_change(
df,
nmt,
dmt,
newCol = "lfc",
isExpressedCols = NULL,
lfcLimit = 0
)
|
df |
data frame |
nmt |
column name for sample in numerator |
dmt |
column name for sample in denominator |
newCol |
new column name for |
isExpressedCols |
A named vector with column names for isExpressed data for both polII samples |
lfcLimit |
All the LFC values in range |
dataframe with additional fold change column
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.