抽象的
示例使用rcistarget分析基因组区域(而不是基因)。本教程需要rcistarget> = 1.11
软件包(“ rcistarget”)
## [1]'1.17.0'
下载.file(“ https://gbiomed.kuleuven.be/apps/lcb/i-cistarget/examples/input_files/human/peaks/encode_gata1_peaks.bed”bed(“ encode_gata1_peaks.bed”)区域集< - list(gata1_peaks = geimionsList)
该分析需要基于区域的数据库(适用于适当的生物体):基于区域的基序排名-TOBIF-TF注释(基于区域和基因的分析相同) - 区域位置(即从区域ID转换为基因组位置)
数据库可以从:https://resources.aertslab.org/cistarget/
库(rcistarget)#主题排名featherfilepath < - “〜/databases/hg19-rigions-9species.all_regions.mc9nr.feather”#motif-tf-tf tf Annotations data(“ mopifannotations_hgnc”dbregionsloc <-dbregionsloc_hg19
dbregionsloc <-getDbregionsLoc(featherfilepath)
基于基因的分析的主要区别在于,区域需要首先转换为数据库ID,而参数需要转换为数据库IDAucmaxrank
应该调整:
Aucmaxrank = 0.005
Aucmaxrank = 0.005
Aucmaxrank = 0.01
#convert区域集egionsets_db < - lapply(区域集,函数(x)convertTotArgetRegions(queryRegions = x,targetRigions = dbregionsloc))#导入排名AllRegionStoimport allregionStoimport <-- unifer(UNLIST(lunlist(eNegionSetsets_db)));长度(AllRegionStoimport)矩阵<-不良转移(featherfilepath,columns = allregionStoimport)#运行rcistarget motifenrichmenttable <-cistarget(cistionsets_db,motifrankings,iucmaxrank,aucmaxrank,aucmaxrank = 0.005*getnumcolifrifrifrifrifrifrifrifrifrifrifrifrifrifrifrifrifrife#infutifrife architrife)#