View source: R/getContigDoublets.R
getContigDoublets | R Documentation |
This function identifies potential doublets by finding common barcodes between TCR and BCR outputs. It extracts unique barcodes from each list of dataframes, finds the intersection of the barcodes, and joins the resulting data.
getContigDoublets(tcrOutput, bcrOutput)
tcrOutput |
Output of |
bcrOutput |
Output of |
A dataframe of barcodes that exist in both the TCR and BCR data, with
columns from both sets of data. There will be an additional column
contigType
of type factor with levels 'TCR' and 'BCR' indicating the
origin of the contig - this will be the new first column.
If there are no doublets, the returned data.frame will have the same colnames but no rows.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.