do_gsea | R Documentation |
Do gsea
do_gsea(dt, gene_set, gene_id, stat)
dt |
dataframe contain gene id (gene_id) and rank statistics (stat) |
gene_set |
pathway information, the path of gmt file |
gene_id |
colname of gene_id |
stat |
colname of stat |
ES
res <- deg_deseq2(count_df,control_label="ctrl",control_counts=2,treatment_lable="KD",treatment_counts=2,parallel = TRUE,ncores = 4) res$gene <- rownames(res) gmt.file <- system.file("extdata", "h.all.v7.4.symbols.gmt", package="EasyBioinfo") gsea_res <- do_gsea(res,gene_set = gmt.file,gene_id = "gene",stat = "stat")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.