Learn R Programming

LymphoSeq (version 1.0.2)

commonSeqs: Common sequences in two or more samples

Description

Creates a data frame of the common sequences in two or more samples, reporting their frequencies in each.

Usage

commonSeqs(samples, productive.aa)

Arguments

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".

Value

Returns a data frame of the common sequences between two or more files displaying their frequencies in each.

See Also

commonSeqsVenn

Examples

Run this code
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("TCRB_Day0_Unsorted", "TCRB_Day32_Unsorted"), 
   productive.aa = productive.aa)

Run the code above in your browser using DataLab