plot_rem {MetaVolcanoR} | R Documentation

## A function to plot the Random Effect Model (REM) MetaVolcano

### Description

This function plots the REM MetaVolcano using ggplot2

### Usage

    plot_rem(meta_diffexp, jobname, outputfolder, genecol, metathr)

### Arguments

`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>

### Value

`ggplot2` object

### Examples

    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)

[Package MetaVolcanoR version 1.0.1 Index]