Description Usage Arguments Details Value Examples
Compute Information Content (IC) for each HP based on genes by HP
1 | computeHpIC(content, hp.descendants)
|
content |
a list providing the content associated to each HP |
hp.descendants |
a list providing for each HP all its descendant HP terms |
This function assumes that all the HP terms taken into account belong to the same family of terms(i.e they are all descendants of the same term).
a vector of IC named with HP terms
1 2 3 4 5 6 7 8 9 10 11 | ###########################################
## Compute information content of each HP according to associated genes
data(geneByHp, hp_descendants, package="PCAN")
geneByHp <- unstack(geneByHp, entrez~hp)
ic <- computeHpIC(geneByHp, hp_descendants)
hist(
ic,
breaks=100, col="grey",
main="Distribution of Information Content",
xlab="IC base on genes associated to HP"
)
|
Loading required package: BiocParallel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.