vis.number.count: Plot a histogram of counts.

Description Usage Arguments Details Value Examples

Description

Plot a histogram of distribution of counts of CDR3 nucleotide sequences. On y-axis are number of counts.

Usage

1
2
3
4
5
6
vis.number.count(
  .data,
  .ncol = 3,
  .name = "Histogram of clonotypes read counts",
  .col = "Read.count"
)

Arguments

.data

Cloneset data frame or a list of clonesets.

.ncol

If .data is a list, than number of columns in a grid of histograms for each data frame in .data. Else not used.

.name

Title for this plot.

.col

Name of the column with counts.

Details

If .data is a data frame, than one histogram will be plotted. Is .data is a list, than grid of histograms will be plotted.

Value

ggplot object.

Examples

1
2
3
4
5
6
7
8
## Not run: 
load('immdata.rda')
# Plot one histogram with main title.
vis.number.count(immdata[[1]], 'Main title here')
# Plot a grid of histograms with 2 columns.
vis.number.count(immdata, 2)

## End(Not run)

imminfo/tcr documentation built on June 13, 2020, 7:01 a.m.