Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unique barcode #19

Open
JFavaloro opened this issue Mar 20, 2022 · 2 comments
Open

Unique barcode #19

JFavaloro opened this issue Mar 20, 2022 · 2 comments

Comments

@JFavaloro
Copy link

Hi, Looks like a great package! I just wanted to let you know I've encountered an issue with using the plot_heatmap function with a Seurat object that I've appended V(D)J data to with scRepertoire. It throws the error:

Error:
! Column name barcode must not be duplicated.
Caused by error in stop_vctrs():
! Names must be unique.
x These names are duplicated:

  • "barcode" at locations 5 and 41.
    Run rlang::last_error() to see where the error occurred.

I had a look back at traceback and the plot_heat map function and confirmed that all barcodes were unique. The function works when I delete the barcode metadata completely. Let me know if you want/need any more info. Thanks!

@wes-lewis
Copy link

How did you go about deleting the barcode metadata for the function? @JFavaloro

@JFavaloro
Copy link
Author

Just set to null:
temp = integrated.seurat.object
temp$barcode = NULL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants