This function defines DEGs between particular clusters generated by either K-means or model based clustering.
DEGanalysis2clust(
object,
K,
Clustering = "K-means",
fdr = 0.05,
name = "Name",
First = "CL1",
Second = "CL2",
export = FALSE,
quiet = FALSE,
plot = TRUE,
filename_deg = "DEGsTable",
filename_sigdeg = "sigDEG",
...
)# S4 method for DISCBIO
DEGanalysis2clust(
object,
K,
Clustering = "K-means",
fdr = 0.05,
name = "Name",
First = "CL1",
Second = "CL2",
export = FALSE,
quiet = FALSE,
plot = TRUE,
filename_deg = "DEGsTable",
filename_sigdeg = "sigDEG",
...
)
A list containing two tables.
DISCBIO
class object.
A numeric value of the number of clusters.
Clustering has to be one of the following: ["K-means","MB"]. Default is "K-means"
A numeric value of the false discovery rate. Default is 0.05.
A string vector showing the name to be used to save the resulted tables.
A string vector showing the first target cluster. Default is "CL1"
A string vector showing the second target cluster. Default is "CL2"
A logical vector that allows writing the final gene list in excel file. Default is TRUE.
if `TRUE`, suppresses intermediate text output
if `TRUE`, plots are generated
Name of the exported DEG table
Name of the exported sigDEG table
additional parameters to be passed to samr()