InferTFact {SEPIRA} | R Documentation |
InferTFact
is an auxiliary function for function sepiraRegAct
.
InferTFact(exp, regnet)
exp |
A numeric vector of gene expression levels for all TF target genes in a sample. |
regnet |
A matrix, the network estimated by function |
InferTFact
regresses the expression profiles of TF target genes against the binding profile of this TF on these genes. The output t-statistics are taken as the TF activity scores.
A vector storing the activity scores of all TFs in a specific sample.
# TF regulatory network with 100 genes and 5 TFs. regnet.m <- matrix(sample(c(-1, 0, 1), 500, replace = TRUE), nrow = 100) # gene expression vector (for one sample) exp.v <- rnorm(100) # TF activity score TFact.v <- SEPIRA:::InferTFact(exp.v, regnet.m)