calculateTFactS.Rd
This function calculates TFactS
calculateTFactS(
DEGs,
catalog,
TFs,
all.targets,
Q.value = FALSE,
lambda1 = seq(0.05, 0.5, 0.01),
lambda2 = 0.05,
nRep = 100,
TF.col = "TF..OFFICIAL_TF_CODING_GENE_NAME."
)
a character vector of DEGs (differentially expressed genes)
a data frame of TFactS catalog (ver. 2)
a character vector of transcription factor
a character vector of all target genes
logical. If it is TRUE, Q.value calculation is performed by Storey method.
a vector of the lambda values utilized to obtain pi0.lambda
a user-specified threshold of E-value (default: 0.05)
number of random selections (default: 100)
the name of the column that contains the TF names
data.frame
Essaghir A et al. Nucleic Acids Res. 2010 Jun;38(11):e120.
data(DEGs)
data(catalog)
tftg <- extractTFTG(DEGs, catalog)
TFs <- tftg$TFs
all.targets <- tftg$all.targets
res <- calculateTFactS(DEGs, catalog, TFs, all.targets)