getMaxRanking | R Documentation |
Get the max Ranking of exactly group in S3:DNB_output after function DNBfilter
getMaxRanking(object, group, ...)
object |
S3:DNB_output |
group |
which sub-group of S3-DNB_output to extract |
... |
for future use |
numeric value of max Ranking for your group
Kaiyu Wang, in ChenLab of CAS, Shanghai, China
data(data.example)
data(meta.example)
a <- DNBcompute(data.example, meta.example)
b <- DNBfilter(a, ntop = 5)
maxRank <- getMaxRanking(b, group = "C") # get 4 instead of 5
DNBplot(b, ranking = maxRank, group = "C", show = TRUE, save_pdf = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.