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)
The product of combineTCR()
or
combineBCR()
.
The column header/name to use for subsetting.
The values to subset by, must be in the names(input.data).
list of contigs that have been filtered for the name parameter
combined <- combineTCR(contig_list,
samples = c("P17B", "P17L", "P18B", "P18L",
"P19B","P19L", "P20B", "P20L"))
subset <- subsetClones(combined, name = "sample", variables = c("P17B"))