分类标签归档:GEO

GSEA分析


GSEA基因集富集分析

## 背景:
基因集富集分析

1.fgsea

### https://bioconductor.org/packages/release/bioc/vignettes/fgsea/inst/doc/fgsea-tutorial.html
rm(list = ls())

library(fgsea)
library(data.table)
library(ggplot2)
data(examplePathways)
data(exampleRanks)
set.seed(42)
fgseaRes <- fgsea(pathways = examplePa...

Read more

GEO数据分析


GEO数据

背景:https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE42872

基本流程:

## 1. 下载数据
library(GEOquery)
f = 'GSE42872_eSet.Rdata'
if (!file.exists(f)) {
  gset <- getGEO('GSE42872', destdir = ".",
                 AnnotGPL = F,     ## 注释文件
                 getGPL = ...

Read more