Description Usage Arguments Value Examples
function plots V or J proportion in all samples in a RepSeqExperiment object.
1 2 3 4 5 6 | plotPropVJ(
x,
level = c("V", "J"),
sampleName = NULL,
scale = c("counts", "percent", "cpm")
)
|
x |
an object of class RepSeqExperiment. |
level |
level of repertoire to be used. |
sampleName |
the name of sample or lib to be plotted, sample name must be existed among x column names. If NULL the first sample name is used. |
scale |
type of data to be plotted, counts, percentages or counts per million. |
a barplot
1 2 3 4 5 6 7 8 | ## Not run:
# The package RepSeqData contains example datasets
library(RepSeqData)
snames <- rownames(sData(RepSeqData))
# plot percentages of V compared to the library size of in the second sample.
plotPropVJ(x = RepSeqData, level = "V", sampleName = snames[2], scale = "counts")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.