# We load in a `countData' object containing the estimated posterior
# likelihoods of expression (see `getLikelihoods').
data(CDPost)
# Report the top ten rows of data that have highest likelihood of belonging to
# group 2 of the data (i.e., differentially expressed)
topCounts(CDPost, group = "DE", number = 10)
# equivalently...
topCounts(CDPost, group = 2, number = 10)
# Report the top ten rows of data that have highest likelihood of belonging to
# group 2 of the data (i.e., differentially expressed), with group 1
# being overexpressed compared to group 2.
topCounts(CDPost, group = "DE", ordering = "1>2", number = 10)
Run the code above in your browser using DataLab