topKnet {MetNet} | R Documentation |
'topKnet' returns consensus ranks depending on the 'type' argument from 'ranks', a matrix containing the ranks per statistical 'model'.
topKnet(ranks, type)
ranks |
'matrix' containing the ranks per statistical model (in columns) and per feature pair (in rows) |
type |
'character', either '"top1"', '"top2"' or '"mean"' |
See Hase et al. (2014) for further details.
'numeric' 'vector“ with consensus ranks
Thomas Naake, thomasnaake@googlemail.com
Hase et al. (2014): Harnessing Diversity towards the Reconstructing of Large Scale Gene Regulatory Networks. PLoS Computational Biology, 2013, e1003361, doi: [10.1371/journal.pcbi.1003361](https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1003361)
ranks <- matrix(c(c(1, 2, 3), c(2, 1, 3)), ncol = 2) ## type = "top1" MetNet:::topKnet(ranks = ranks, type = "top1") ## type = "top2" MetNet:::topKnet(ranks = ranks, type = "top2") ## type = "mean" MetNet:::topKnet(ranks = ranks, type = "mean")