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

SingleR - "sc_data" is missing #160

Open
nitinmahajan20 opened this issue Apr 12, 2024 · 1 comment
Open

SingleR - "sc_data" is missing #160

nitinmahajan20 opened this issue Apr 12, 2024 · 1 comment

Comments

@nitinmahajan20
Copy link

I am having issue running the Single R , not sure why I am getting the error. Please help

seurat_integrated

An object of class Seurat
51866 features across 54453 samples within 3 assays
Active assay: RNA (24468 features, 0 variable features)
2 layers present: data, counts
2 other assays present: SCT, integrated
2 dimensional reductions calculated: pca, umap

ref <- celldex::HumanPrimaryCellAtlasData()
seurat_integrated_counts <- GetAssayData(seurat_integrated, layer = 'counts')

pred <- SingleR(test = seurat_integrated_counts,
        ref = ref,
        labels = ref$label.main)

pred

ERROR

Error in SingleR(test = seurat_integrated_counts, ref = ref, labels = ref$label.main) :  argument "sc_data" is missing, with no default
@dviraran
Copy link
Owner

Please post issues in LTLA/SingleR

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