getTrace | R Documentation |
Simple helper function to obtain a trace (e.g. MCMC trace)
of the ordered inferential replicates for one samples.
Supports either multiple features, idx
, or multiple
samples, samp_idx
(not both). Returns a tidy
data.frame for easy plotting.
getTrace(y, idx, samp_idx)
y |
a SummarizedExperiment with inferential replicates
as assays |
idx |
the names or row numbers of the gene or transcript to plot |
samp_idx |
the names or column numbers of the samples to plot |
a data.frame with the counts along the interential replicates, possible with additional columns specifying feature or sample
y <- makeSimSwishData()
getTrace(y, "gene-1", "s1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.