clusterProfiler
clusterProfiler copied to clipboard
Reload enrich object from file
genes.enriched.Reactome <- enricher(genes, TERM2GENE=Reactome, TERM2NAME=NA,pvalueCutoff = 0.05,pAdjustMethod = "BH",minGSSize = 10,maxGSSize = 500, qvalueCutoff = 0.05)
write.csv(p$data ,file = "/home/jp/eclipse-workspace/Toulouse/data/results/GO/Reactome.h4.genes.1A.2A-dotplot.csv", row.names=FALSE)
Is that possible to reload the object from the file to do a dotplot for example ?
dotplot doesn't work with a data.frame so fread doesn't work to read the file.
What is the good way to cast the object to enrichR object in order to reused it from a previously saved file.