This function calculates E-value based on .

calculateEvalue(df, TFs)

Arguments

df

a data frame containng p-values

TFs

a character vector of transcription factor

Value

data.frame

References

Essaghir A et al. Nucleic Acids Res. 2010 Jun;38(11):e120.

Author

Atsushi Fukushima

Examples

data(catalog)

tftg <- extractTFTG(DEGs, catalog)
TFs <- tftg$TFs

p.value <- runif(10)/(1:10)
df <- data.frame(p.value = p.value)
res <- calculateEvalue(df, TFs)