ncborcherding / scRepertoire

A toolkit for single-cell immune profiling
https://www.borch.dev/uploads/screpertoire/
MIT License
294 stars 48 forks source link

Error when calling combineTCR #9

Closed s2hui closed 4 years ago

s2hui commented 4 years ago

Hello,

Thank you for making this useful package available.

I have 6 filtered_contig_annotation.csv files from 10x Genomics Cell Ranger that I put into a contig_list as per the vignette. I am trying to called CombineTCR on this list but get the following error:

combined <- combineTCR(contig_list, samples = NAMES, ID = NAMES, cells ="T-AB") Error in $<-.data.frame(*tmp*, "sample", value = "CD123456-1") : replacement has 1 row, data has 0

I was wondering what is wrong and how to I can properly run combineTCR.

Thank you shui

s2hui commented 4 years ago

I just realized I had loaded BCR csv files in the contig_list. I removed them and the combineTCR method run without error. shui