Description Usage Arguments Value Examples
View source: R/plotFunctions.R
function plots spectratype for V genes of one repertoire (distribution of lengths of CDR3 in amio-acid).
1 | plotSpectratype(x, sampleName = NULL, scale = c("counts", "percent", "cpm"))
|
x |
an object of class [ |
sampleName |
sample to plot, if NULL the first sample of x is plotted. |
scale |
the type of bars in term of counts, percentages or count 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 Spectratype of the first sample, all V together.
plotSpectratype(x = RepSeqData, sampleName = snames[1], scale = "counts")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.