This function takes an object of class iCellR and performs differential expression (DE) analysis for clusters and conditions.
run.diff.exp(
x = NULL,
data.type = "main",
pval.test = "t.test",
p.adjust.method = "hochberg",
de.by = "clusters",
cond.1 = "array",
cond.2 = "array",
base.cond = 0
)
An object of class iCellR
An object of class iCellR.
Choose from "main" and "imputed", default = "main"
Choose from "t.test", "wilcox.test", default = "t.test".
Correction method. Choose from "holm", "hochberg", "hommel", "bonferroni", "BH", "BY","fdr", "none", default = "hochberg".
Choose from "clusters", "conditions", "clustBase.condComp" or "condBase.clustComp".
First condition to do DE analysis on.
Second condition to do DE analysis on.
A base condition or cluster if de.by is either cond.clust or clust.cond