Description Usage Arguments Value Examples
This function draws a forest plot for a given gene based on the REM MetaVolcano result
1 2 3 | draw_forest(remres, gene = "MMP9", genecol = "Symbol",
foldchangecol = "Log2FC", llcol = "CI.L", rlcol = "CI.R",
jobname = "MetaVolcano", outputfolder = ".", draw = "PDF")
|
remres |
MetaVolcano object. Output of the rem_mv() function <MetaVolcano> |
gene |
query gene to plot |
genecol |
name of the variable with genes <string> |
foldchangecol |
the column name of the foldchange variable <string> |
llcol |
left limit of the fold change coinfidence interval variable name <string> |
rlcol |
right limit of the fold change coinfidence interval variable name <string> |
jobname |
name of the running job <string> |
outputfolder |
/path where to write the results/ <string> |
draw |
either 'PDF' or 'HTML' to save metaolcano as .pdf or .html respectively <string> |
ggplot2
object
1 2 3 4 5 6 7 | data(diffexplist)
diffexplist <- lapply(diffexplist, function(del) {
dplyr::filter(del, grepl("MP", Symbol))
})
mv <- rem_mv(diffexplist, metathr = 0.1)
gg <- draw_forest(mv, gene="MMP9")
plot(gg)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.