subsetClones: Subset the product of combineTCR() or combineBCR()

View source: R/subsetClone.R

subsetClonesR Documentation

Subset the product of combineTCR() or combineBCR()

Description

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

Usage

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


ncborcherding/scRepertoire documentation built on April 27, 2024, 8:34 p.m.