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

Issue with subsetting ATAC assay #1883

Open
yloskove opened this issue Jan 10, 2025 · 1 comment
Open

Issue with subsetting ATAC assay #1883

yloskove opened this issue Jan 10, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@yloskove
Copy link

I am having an issue with subsetting the ATAC assay of my Seurat object based on a list of features. When I try to subset the object I receive the error: Error: None of the features provided found in this assay

DefaultAssay(seurat.obj)<-'ATAC'
head(rownames(seurat.obj))
'chr1-3297147-3298048' 'chr1-3399710-3400667' 'chr1-3552188-3553228' 'chr1-3670385-3671221'

sub_peaks<-rownames(res.peaks)
head(sub_peaks)
'chr1-100122199-100123124' 'chr1-105810837-105811768' 'chr1-109971955-109972922' 'chr1-111699099-111700062' 'chr1-114011627-114012575'

seurat.obj <- subset(seurat.obj, features = sub_peaks)
Error: None of the features provided found in this assay
@yloskove yloskove added the bug Something isn't working label Jan 10, 2025
@timoast
Copy link
Collaborator

timoast commented Jan 15, 2025

Please include your full code and the output of sessionInfo()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants