Description Usage Arguments Value Examples
The function is used to find candidate transcription factor co-regulator with a given transcription factor, by finding the transcription factors that contribute to the prediction of the given trascription factor presence in a set of association rules.
1 |
TFs |
a string vector: set of transcription factors to check their presence (TF=1) or absence (TF=0) in the set of rules. |
rules |
data.frame: rules and their quality measures. |
type |
logical parameter: if |
A list of two string vectors: the list pres contains
all the transcription factors in TFs that are present in rules,
and the list abs contains all the transcription factors in TFs
that are absent in rules.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | library(GenomicRanges)
# Load r_TEAD4 from the data_man collection of datasets:
data('data_man')
# Load MCF7_chr1:
data('MCF7_chr1')
# Transcription factors present in at least one of the regions
# in the considered dataset:
c <- names(elementMetadata(MCF7_chr1))
names(presAbs(c, r_TEAD4, TRUE))
# Transcription factors present in at least one of the association rules:
p_TFs <- presAbs(c, r_TEAD4, TRUE)$pres
p_TFs
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.