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

repFilter by CDR3.nt list #378

Closed
tdfy opened this issue Sep 6, 2023 · 1 comment
Closed

repFilter by CDR3.nt list #378

tdfy opened this issue Sep 6, 2023 · 1 comment

Comments

@tdfy
Copy link

tdfy commented Sep 6, 2023

Hello,

I would like to filter a repertoire file ( immdata ) by a list of CDR3.nt sequences contained in a df, dat2$CDR3.nt. Please advise how best to proceed. Thanks.

repFilter(immdata, .method = "by.clonotype", .query = list(CDR3.nt = include(dat2$CDR3.nt)))

@tdfy
Copy link
Author

tdfy commented Sep 7, 2023

immdata$data$x <- immdata$data$x %>% distinct(.$CDR3.nt, .keep_all = TRUE)

@tdfy tdfy closed this as completed Sep 7, 2023
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

1 participant