| plot_rem {MetaVolcanoR} | R Documentation |
This function plots the REM MetaVolcano using ggplot2
plot_rem(meta_diffexp, jobname, outputfolder, genecol, metathr)
meta_diffexp |
data.frame/data.table containing the REM results from rem_mv() <data.table/data.frame> |
jobname |
name of the running job <string> |
outputfolder |
/path where to write the results/ <string> |
genecol |
column name of the variable to label genes in the .html file <string> |
metathr |
top percentage of perturbed genes to be highlighted <double> |
ggplot2 object
data(diffexplist)
diffexplist <- lapply(diffexplist, function(del) {
dplyr::filter(del, grepl("MP", Symbol))
})
mv <- rem_mv(diffexplist, metathr = 0.1)
gg <- plot_rem(mv@metaresult, "MV", ".", "Symbol", 0.01)
plot(gg)