plotCdr3: barplot of top n cdr3 sequences usage in each group.

Description Usage Arguments Value

View source: R/visualization.R

Description

barplot of top n cdr3 sequences usage in each group.

Usage

1
2
plotCdr3(btcr, group, dtype = c("percentage", "count"), topn = 10,
  ncol = 1, combine = TRUE)

Arguments

btcr

A BTCR object.

group

Column in btcr$contigs to group cdr3.

dtype

Plot usage counts or percentages.

topn

Top N cdr3 to plot. Default: 10.

ncol

Ncols in plot layout.

combine

Combine each plots or return plot list.

Value

patchwork wrapped plots or ggplot list.


xizhihui/BTCR documentation built on Dec. 23, 2021, 7:10 p.m.