seqMatrix: Sequence matrix

View source: R/seqMatrix.R

seqMatrixR Documentation

Sequence matrix

Description

Creates a data frame with unique, productive amino acid sequences as rows and repertoire_id names as headers. Each value in the data frame represents the frequency that the sequence appeared in the repertoire_id.

Usage

seqMatrix(productive_aa, sequences = NULL, by = "duplicate_frequency")

Arguments

productive_aa

A tibble of productive amino acid sequences generated by LymphoSeq function productiveSeq where the aggregate parameter was set to "junction_aa".

sequences

A character vector of amino acid sequences of interest. It is useful to specify the output from the LymphoSeq functions uniqueSeqs or topSeqs and subsetting the "junction_aa" column. See examples below.

by

Available options are "duplicate_frequency" and "duplicate_count". Default is "duplicate_frequence".

Value

Returns a data frame of unique, productive amino acid sequences as rows and the \

See Also

topSeqs and uniqueSeqs


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