plot_mv: A MetaVolcano ploting function

Description Usage Arguments Value Examples

View source: R/plot_mv.R

Description

This function plots either the combining- or the vote-counting- MetaVolcanos

Usage

1
plot_mv(meta_diffexp, nstud, genecol, comb, metafc)

Arguments

meta_diffexp

data.frame/data.table containing the differential expression inputs

nstud

the number of differential expression inputs <integer>

genecol

column name of the variable to label genes in the .html file <string>

comb

wheather or not the drawing is for the combining-metavolcano <logical>

metafc

method for summarizing gene fold-changes across studies c("Mean", "Median") <string>

Value

ggplot2 object

Examples

1
2
3
4
data(diffexplist)
mv <- votecount_mv(diffexplist)
gg <- plot_mv(mv@metaresult, length(diffexplist), "Symbol", FALSE, "Mean")
plot(gg)

csbl-usp/MetaVolcanoR documentation built on Nov. 8, 2019, 8:53 p.m.