This function allows for the subsetting of the product of combineTCR() or combineBCR() by the name of the individual list element.

subsetClones(input.data, name, variables = NULL)

Arguments

input.data

The product of combineTCR() or combineBCR().

name

The column header/name to use for subsetting.

variables

The values to subset by, must be in the names(input.data).

Value

list of contigs that have been filtered for the name parameter

Examples

combined <- combineTCR(contig_list, 
                        samples = c("P17B", "P17L", "P18B", "P18L", 
                                    "P19B","P19L", "P20B", "P20L"))
subset <- subsetClones(combined, name = "sample", variables = c("P17B"))