saveAsPDF {pathVar} | R Documentation |
Save the plots of the significant pathway or a chosen list of pathways as a pdf.
saveAsPDF(pvalue_results,sig,listPath="significant")
pvalue_results |
output of |
sig |
output of |
listPath |
the string "significant" if you want to save the plots of the significant pathways or a list of names of pathways of interest. |
Save the plots of the significant pathway or a chosen list of pathways as a pdf.
A pdf of the results from sigPway
.
Laurence de Torrente, Samuel Zimmerman, Jessica Mar
# we run the 2 samples analysis on the first 10 pathways from kegg pways.kegg.10pways <- lapply(pways.kegg, function(x) x[1:10]) results_2samples=pathVarTwoSamplesCont(bock, pways.kegg.10pways,groups=as.factor(c(rep(1,10),rep(2,10)))) sigPways <- sigPway(results_2samples,0.05) saveAsPDF(results_2samples,sigPways,listPath="significant")