get_deg | R Documentation |
do differential analysis according to expression set and group information
get_deg(
exp,
group_list,
ids,
logFC_cutoff = 1,
pvalue_cutoff = 0.05,
adjust = FALSE,
entriz = TRUE,
species = "human"
)
exp |
A numeric matrix |
group_list |
A factor with duplicated character or factor |
ids |
a data.frame with 2 columns,including probe_id and symbol |
logFC_cutoff |
Cutoff value of logFC,1 by default. |
pvalue_cutoff |
Cutoff value of pvalue,0.05 by default. |
adjust |
a logical value, would you like to use adjusted pvalue to draw this plot,FAlSE by default. |
entriz |
whether convert symbols to entriz ids |
species |
choose human or mouse, or rat, default: human |
a deg data.frame with 10 columns
Xiaojie Sun
multi_deg
;get_deg_all
## Not run:
if(requireNamespace("Biobase",quietly = TRUE)&
requireNamespace("AnnoProbe",quietly = TRUE)){
gse = "GSE42872"
a = geo_download(gse,destdir=tempdir())
find_anno(geo$gpl)
ids <- AnnoProbe::idmap(geo$gpl,destdir = tempdir())
Group = rep(c("control","treat"),each = 3)
Group = factor(Group)
deg = get_deg(geo$exp,Group,ids,entriz = FALSE)
head(deg)
}else{
if(!requireNamespace("AnnoProbe",quietly = TRUE)) {
warning("Package 'AnnoProbe' needed for this function to work.
Please install it by install.packages('AnnoProbe')",call. = FALSE)
}
if(!requireNamespace("Biobase",quietly = TRUE)) {
warning("Package 'Biobase' needed for this function to work.
Please install it by BiocManager::install('Biobase')",call. = FALSE)
}
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.