commonSeqs: Common sequences in two or more samples

Description Usage Arguments Value See Also Examples

View source: R/commonSeqs.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
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)

davidcoffey/LymphoSeq documentation built on Dec. 31, 2019, 9:52 p.m.