AddClonotype: Add 10X clonotype data to seurat object

Description Usage Arguments Details Value

View source: R/vdj.R

Description

AddClonotype adds clonotype info from matched 10X VDJ sequencing to the metadata of a given Seurat object.

Usage

1
AddClonotype(vdj.dir, scrna)

Arguments

vdj.dir

String containing path to TCR (VDJ) directory.

scrna

Seurat object.

Details

This function is admittedly rough and will be rewritten in the future. It does not include specific VDJ genes for each cell, rather just using the final amino acid sequence for inter-sample comparison.

Value

Seurat object with clonotype data (clonotype_id and cdr3s_aa) added to the metadata for each cell.


j-andrews7/EZscRNA documentation built on Feb. 24, 2020, 10:37 a.m.