topSeqs {LymphoSeq} | R Documentation

## 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

    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)

[Package LymphoSeq version 1.22.0 Index]