plotSpectratypeV: plot Spectratype by V genes

Description Usage Arguments Value Examples

Description

function produces barplot according to the CDR3 length for each V gene.

Usage

1
2
3
4
5
6
plotSpectratypeV(
  x,
  sampleName = NULL,
  scale = c("counts", "percent", "cpm"),
  showCDR3 = F
)

Arguments

x

an object of class RepSeqExperiment.

sampleName

a string indicating the sample to plot. sampleName must be existing in the slot "sampleData".

scale

the type of bars in term of counts, percentages or count per million.

showCDR3

blabla

Value

a wrapped of barplots

Examples

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. One histogram per V gene.
plotSpectratypeV(x = RepSeqData, sampleName = snames[1], scale = "counts")

## End(Not run)

ph-pham/RepSeq documentation built on Dec. 22, 2021, 7:47 a.m.