Description Usage Arguments Examples
View source: R/calc_fold_change_df.R
Reads a data frame, identifies the columns containing group mean values, and
calculates the log2 fold difference. Output is saved in a new column of the same data frame
labeled as <e2><80><9c>log2_fold_change_AB<e2><80><9d>. If means are not calculated, used calc_means_df
function first.
1 | calc_fold_change_df(x, mean_A, mean_B, colname = "log2_fold_difference")
|
x |
Data frame containing input values. |
mean_A |
Character string describing the column name of the mean for the group A. Partial matching is acceptable. |
mean_B |
Character string describing the column name of the mean for the group B. Partial matching is acceptable. |
colname |
Single character vector, with the label of the column with the calculated values. Default value is "log2_fold_difference". |
1 | proc_data <- calc_fold_change_df(data, "TIC_Pat", "TIC_Ctr")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.