Learn R Programming

TFactSR (version 0.99.0)

formatRC: formats the result of Random Control (RC)

Description

This function formats the result of Random Control (RC) with random simulation based on Fisher's exact test

Usage

formatRC(df, list, nRep)

Value

data.frame

Arguments

df

a data frame of ET including E-values, FDR-BH, and Q-values

list

a list of the result of RC (ncol = 2)

nRep

the number of random selections (negative control)

Author

Atsushi Fukushima

Examples

Run this code
data(example.df)
data(example.list)
nRep <- 100
res <- formatRC(example.df, example.list, nRep)

Run the code above in your browser using DataLab