Description Usage Arguments Value Author(s) See Also Examples
View source: R/plotPosteriors.R
This function plots the posterior likelihoods estimated for a 'countData' object against the log-ratios observed between two sets of sample data. For those data where the log-ratio is infinite (because in one set of sample data all observed counts are zero), we plot instead the log-values of the other group.
1 | plotPosteriors(cD, group, samplesA, samplesB, ...)
|
cD |
A |
group |
From which group (as defined in the |
samplesA |
A numerical vector giving the columns of data in the
|
samplesB |
A numerical vector giving the columns of data in the
|
... |
Any other parameters to be passed to the |
Plotting function.
Thomas J. Hardcastle
1 2 3 4 5 6 7 8 | # We load in a `countData' object containing the estimated posterior
# likelihoods of expression (see `getLikelihoods').
data(CDPost)
plotPosteriors(CDPost, group = "DE", samplesA = 1:5, samplesB = 6:10)
# equivalent to plotPosteriors(CDPost, group = 2, samplesA = 1:5, samplesB = 6:10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.