topSeqsPlot: Cumulative frequency bar plot of top sequences

View source: R/topSeqsPlot.R

topSeqsPlotR Documentation

Cumulative frequency bar plot of top sequences

Description

Create a cumulative frequency bar plot of a specified number of top sequences.

Usage

topSeqsPlot(study_table, top = 10)

Arguments

study_table

A study tibble imported using the LymphoSeq function readImmunoSeq or productiveSeq.

top

The number of top sequences to be colored in the bar plot. All other, less frequent sequences are colored violet.

Details

The plot is made using the package ggplot2 and can be reformatted using ggplot2 functions. See examples below.

Value

Returns a cumulative frequency bar plot of the top sequences.

See Also

An excellent resource for examples on how to reformat a ggplot can be found in the R Graphics Cookbook online (http://www.cookbook-r.com/Graphs/).


elulu3/LymphoSeqTest documentation built on Aug. 27, 2022, 5:47 a.m.