Perform differential activity analysis on expression set
getDA.Rd
Perform differential activity analysis on expression set
Arguments
- input_eset
The expression set object that filtered, normalized and log-transformed
- group_by
Character, name of the column for grouping, usually the column of cell types or clusters. Default: "
clusterID
".- g1
A vector of character defining the fore-ground group or
NULL
. Default:NULL
.- g0
A vector of character defining the back-ground group or
NULL
. Default:NULL
.- use_method
Character, method used for differential analysis: "
limma
", "wilcoxon
", and "t.test
" (the default).
Examples
if (FALSE) { # \dontrun{
## 1. To perform differential activity analysis in a 1-vs-rest manner for all groups in "clusterID" column
da_res <- getDA(input_eset = activity_clustered.eset,
group_by = "clusterID",
use_method = "t.test")
## 2. To perform differential activity analysis in a 1-vs-rest manner for one specific group in "clusterID" column
da_res <- getDA(input_eset = activity_clustered.eset,
group_by = "clusterID",
g1 = c("1"),
use_method = "t.test")
## 3. To perform differential activity analysis in a rest-vs-1 manner for one specific group in "clusterID" column
da_res <- getDA(input_eset = activity_clustered.eset,
group_by = "clusterID",
g0 = c("1"),
use_method = "t.test")
## 4. To perform differential activity analysis in a 1-vs-1 manner for groups in "clusterID" column
da_res <- getDA(input_eset = activity_clustered.eset,
group_by = "clusterID",
g1 = c("1"),
g0 = c("3"),
use_method = "t.test")
} # }