remodel {MetaVolcanoR} | R Documentation |
A function to model foldchange variance along several studies This function calculate the REM-summary fold-change
remodel(gene, foldchangecol, vcol)
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> |
data.frame
with REM results for a gene
g <- data.frame('Symbol'="XGENE", 'Log2FC_1'=1.2, 'Log2FC'=0.8, 'vi_1'=0.01, 'vi_2'=0.1) remodel(g, 'Log2FC', 'vi')