View source: R/volcano_master.R
FC_P | R Documentation |
This function calculates the log2 fold change (FC) and p-values for differential expression analysis between two groups of data.
FC_P(compare1, compare2, p.adj = FALSE, method = "fdr")
compare1 |
A matrix or data frame representing the first group of data. |
compare2 |
A matrix or data frame representing the second group of data. |
p.adj |
Logical. Should p-values be adjusted for multiple testing? |
method |
The method to use for p-value adjustment. Options: 'fdr', 'bonferroni', 'holm', etc. |
A data frame containing the log2 fold change and -log10 transformed p-values for each row (e.g., genes, features) in the input data.
compare1 <- matrix(rnorm(100), ncol = 10)
compare2 <- matrix(rnorm(100), ncol = 10)
result <- FC_P(compare1, compare2, p.adj = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.