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

"SCT is not an assay present in the given object" even though it is present #183

Open
viktorfeketa opened this issue Oct 27, 2023 · 3 comments

Comments

@viktorfeketa
Copy link

When running Azimuth while specifying
assay = "SCT"

I am getting an error:
Error in GetAssay.Seurat(object = object, assay = assay) : SCT is not an assay present in the given object. Available assays are: RNA

even though the query Seurat object clearly contains the "SCT" assay

I am using a custom-made Azimuth reference produced from a public dataset using AzimuthReference()
with specifying:
refAssay = "SCT"
so the reference assay should also contain the SCT assay

@Gesmira
Copy link
Collaborator

Gesmira commented Nov 1, 2023

Can you include the output of query@assays ?

@viktorfeketa
Copy link
Author

sure, here it is:

> srInt@assays
$RNA
Assay data with 18474 features for 253099 cells
First 10 features:
 NOSTRIN, CERS6, STK39, LYPD6, FIGN, LYPD6B, KCNH7, KIF5C, DAPL1, GCA 

$SCT
SCTAssay data with 16941 features for 253099 cells, and 15 SCTModel(s) 
First 10 features:
 NOSTRIN, CERS6, STK39, LYPD6, FIGN, LYPD6B, KCNH7, KIF5C, DAPL1, GCA 

$integrated
SCTAssay data with 3000 features for 253099 cells, and 1 SCTModel(s) 
Top 10 variable features:
 NPY, APOD, C1QA, PTGDS, SST, DCN, CARTPT, POMC, AGRP, PLP1 

@erzakiev
Copy link

erzakiev commented Feb 5, 2024

I think the topic starter should have just used the integrated assay and it would have probably solved his issue...

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

3 participants