calc_vi: A function to calculate variance from confidence interval...

Description Usage Arguments Value Examples

View source: R/calc_vi.R

Description

This function takes the limits of a confidence interval (95 a calculate a variance

Usage

1
calc_vi(diffexp, llcol, rlcol)

Arguments

diffexp

data.frame/data.table containing differential expression results

llcol

column name of the fold change coinfidence interval left limit name <string>

rlcol

column name of the fold change coinfidence interval left limit name <string>

Value

data.table/data.frame with a new vi variable

Examples

1
2
3
data(diffexplist)
diffexp <- calc_vi(diffexplist[[1]], "CI.L", "CI.R")
head(diffexp, 3)

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