remodel: A function to model foldchange variance along several studies...

Description Usage Arguments Value Examples

View source: R/remodel.R

Description

A function to model foldchange variance along several studies This function calculate the REM-summary fold-change

Usage

1
remodel(gene, foldchangecol, vcol)

Arguments

gene

named vector with foldchanges and variances <vector<

foldchangecol

the column name of the foldchange variable <string>

vcol

name of the fold change variance variable <string>

Value

data.frame with REM results for a gene

Examples

1
2
3
g <- data.frame('Symbol'="XGENE", 'Log2FC_1'=1.2, 'Log2FC'=0.8, 
                'vi_1'=0.01, 'vi_2'=0.1)
remodel(g, 'Log2FC', 'vi')

MetaVolcanoR documentation built on Nov. 8, 2020, 7:52 p.m.