get_deg: get_deg

View source: R/3_get_deg.R

get_degR Documentation

get_deg

Description

do differential analysis according to expression set and group information

Usage

get_deg(
  exp,
  group_list,
  ids,
  logFC_cutoff = 1,
  pvalue_cutoff = 0.05,
  adjust = FALSE,
  entriz = TRUE,
  species = "human"
)

Arguments

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

Value

a deg data.frame with 10 columns

Author(s)

Xiaojie Sun

See Also

multi_deg;get_deg_all

Examples

## Not run: gse = "GSE42872"
geo = geo_download(gse,destdir=tempdir())
Group = rep(c("control","treat"),each = 3)
Group = factor(Group)
find_anno(geo$gpl)
ids <- AnnoProbe::idmap(geo$gpl,destdir = tempdir())
deg = get_deg(geo$exp,Group,ids)
head(deg)

## End(Not run)

tinyarray documentation built on Aug. 18, 2023, 9:07 a.m.