plotCountVJ: plot a heatmap of V-J count

Description Usage Arguments Value See Also Examples

View source: R/plotFunctions.R

Description

function plots a heatmap of V-J counts for sampleName

Usage

1
plotCountVJ(x, sampleName = NULL, scale = c("counts", "percent", "cpm"))

Arguments

x

an object of class RepSeqExperiment

sampleName

sample to plot, sample name must be existed among x column names.

scale

type of data to plot: raw count, percentages or count per million.

Value

a heatmap

See Also

pheatmap

Examples

1
2
3
4
5
6
7
8
## Not run: 
# The package RepSeqData contains example datasets 
library(RepSeqData)
snames <- rownames(sData(RepSeqData))
# plot heatmap of count for all V-J combinations for the first sample.
plotCountVJ(x = RepSeqData, sampleName = snames[1], scale = "counts")

## End(Not run)

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