topSeqs {LymphoSeq} | R Documentation |
Creates a data frame of a selected number of top productive sequences from a list of data frames.
topSeqs(productive.seqs, top = 1)
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. |
Returns a data frame of a selected number of top productive sequences from a list of data frames.
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)