-
Notifications
You must be signed in to change notification settings - Fork 69
Error in combineTCR with single chains (Dev Version) #96
Description
Hi Nick,
first of all, thank you for this great package. It helps us all very much :)
I wanted to analyse my data based on just one single chain (TRB) instead of both. I saw you implemented this option in the dev version by using the argument chain = "TRB" in the combineTCR function.
The option for both chains (chain = "both") works perfectly fine, but not for the single chains.
This is my code:
combined <- combineTCR(contig_list, samples = c("Pre", "Post", "Post", "Post", "Post"), ID = c("S1", "S1", "S2", "S3", "S4"), cells ="T-AB", chain = "TRB", removeNA = FALSE, removeMulti = FALSE, filterMulti = FALSE)
And this is the error I get:
Error in chain %in% c(chain1, chain2) : object 'chain' not found
Am I missing or doing something wrong here?
Thanks in advance for your help!
Best,
Elvira
sessionInfo()
R version 4.1.0 (2021-05-18)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Big Sur 11.4
Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] patchwork_1.1.1 tidyr_1.1.3 dplyr_1.0.7 viridis_0.6.1 viridisLite_0.4.0 scales_1.1.1
[7] circlize_0.4.13 sctransform_0.3.2 Seurat_4.0.3 scRepertoire_1.3.2 ggplot2_3.3.5 SeuratObject_4.0.2