Aggregates all productive sequences within a list of data frames by duplicate_count.
Arguments
- productive_table
A tibble of productive amino acid sequences imported using the function LymphoSeq2 function
productiveSeq()
where the aggregate parameter was set to "junction_aa".- unique_type
Use
"junction_aa"
(the default) to aggregate by amino acid sequences. Use"junction"
to aggregate by nucleotide sequences.
Value
A data frame of unique amino acid sequences from the list of data frames aggregated by "duplicate_count"
Examples
file_path <- system.file("extdata", "TCRB_sequencing", package = "LymphoSeq2")
study_table <- LymphoSeq2::readImmunoSeq(path = file_path, threads = 1)
study_table <- LymphoSeq2::topSeqs(study_table, top = 100)
amino_table <- LymphoSeq2::productiveSeq(study_table = study_table, aggregate = "junction_aa")
unique_seqs <- LymphoSeq2::uniqueSeqs(productive_table = amino_table, unique_type = "junction_aa")