Learn R Programming

LymphoSeq (version 1.0.2)

topSeqs: Top sequences

Description

Creates a data frame of a selected number of top productive sequences from a list of data frames.

Usage

topSeqs(productive.seqs, top = 1)

Arguments

productive.seqs
A list data frames of productive sequences generated by the LymphoSeq function productiveSeq. "frequencyCount" and "aminoAcid" are a required columns.
top
The number of top productive sequences in each data frame to subset by their frequencies.

Value

Returns a data frame of a selected number of top productive sequences from a list of data frames.

See Also

chordDiagramVDJ

Examples

Run this code
file.path <- system.file("extdata", "TCRB_sequencing", package = "LymphoSeq")

file.list <- readImmunoSeq(path = file.path)

productive.aa <- productiveSeq(file.list = file.list, aggregate = "aminoAcid")

top.seqs <- topSeqs(productive.seqs = productive.aa, top = 1)

Run the code above in your browser using DataLab