calc_vi {MetaVolcanoR} | R Documentation

## A function to calculate variance from confidence interval limits

### Description

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

### Usage

    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

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

[Package MetaVolcanoR version 1.6.0 Index]