Genelist <- c("FN1","COL1A1")
ansEA <- TCGAanalyze_EAcomplete(TFname="DEA genes Normal Vs Tumor",Genelist)
TCGAvisualize_EAbarplot(tf = rownames(ansEA$ResBP),
GOBPTab = ansEA$ResBP,
GOCCTab = ansEA$ResCC,
GOMFTab = ansEA$ResMF,
PathTab = ansEA$ResPat,
nRGTab = Genelist,
nBar = 10,
filename="a.pdf")
while (!(is.null(dev.list()["RStudioGD"]))){dev.off()}
## Not run:
# Genelist <- rownames(dataDEGsFiltLevel)
# system.time(ansEA <- TCGAanalyze_EAcomplete(TFname="DEA genes Normal Vs Tumor",Genelist))
# # Enrichment Analysis EA (TCGAVisualize)
# # Gene Ontology (GO) and Pathway enrichment barPlot
# TCGAvisualize_EAbarplot(tf = rownames(ansEA$ResBP),
# GOBPTab = ansEA$ResBP,
# GOCCTab = ansEA$ResCC,
# GOMFTab = ansEA$ResMF,
# PathTab = ansEA$ResPat,
# nRGTab = Genelist,
# nBar = 10)
# ## End(Not run)
Run the code above in your browser using DataLab