commonSeqs {LymphoSeq} | R Documentation |
Creates a data frame of the common sequences in two or more samples, reporting their frequencies in each.
commonSeqs(samples, productive.aa)
samples |
A character vector of two or more sample names in productive.aa. |
productive.aa |
A list of productive amino acid sequences generated by the LymphoSeq function productiveSeq where aggregate = "aminoAcid". |
Returns a data frame of the common sequences between two or more files displaying their frequencies in each.
file.path <- system.file("extdata", "TCRB_sequencing", package = "LymphoSeq") file.list <- readImmunoSeq(path = file.path) productive.aa <- productiveSeq(file.list = file.list, aggregate = "aminoAcid") commonSeqs(samples = c("TRB_Unsorted_0", "TRB_Unsorted_32"), productive.aa = productive.aa)