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

Bug: get_anchor_stats() requiring sds when not protein specified #198

Closed
mgrout81 opened this issue Jan 5, 2024 · 2 comments
Closed

Bug: get_anchor_stats() requiring sds when not protein specified #198

mgrout81 opened this issue Jan 5, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@mgrout81
Copy link

mgrout81 commented Jan 5, 2024

I'm running get_anchor_stats() from v1.2.2 of InSituType,
Built: R 4.3.1; x86_64-pc-linux-gnu; 2023-12-21 08:16:52 UTC; unix
.

The function is asking me for an sds object, but the documentation says sds is only for assay_type = "protein".

> astats_old <- get_anchor_stats(counts = counts,
+                                neg = neg_means,
+                                profiles = oldprofiles)
The following genes in the count data are missing from fixed_profiles and will be omitted from downstream: CCL15,CCL18,CCL23,CCL3,CCL3L3,CCL4,CCL4L2,CCL5,CD24,CYTOR,FCGBP,FYB1,GDF10,H2AZ1,H4C3,LINC02446,MMP12,MRC1,MSMB,PECAM1,PRSS2,SELENOP,VEGFD,VSIR
Error in get_anchor_stats(counts = counts, neg = neg_means, profiles = oldprofiles) : 
  argument "sds" is missing, with no default
> astats_old <- get_anchor_stats(counts = counts,
+                                neg = neg_means,
+                                profiles = oldprofiles, assay_type = "rna")
The following genes in the count data are missing from fixed_profiles and will be omitted from downstream: CCL15,CCL18,CCL23,CCL3,CCL3L3,CCL4,CCL4L2,CCL5,CD24,CYTOR,FCGBP,FYB1,GDF10,H2AZ1,H4C3,LINC02446,MMP12,MRC1,MSMB,PECAM1,PRSS2,SELENOP,VEGFD,VSIR
Error in get_anchor_stats(counts = counts, neg = neg_means, profiles = oldprofiles,  : 
  argument "sds" is missing, with no default
>

Running with sds = NULL appears to help. Above errors printed almost immediately, while with sds = NULL has had the function running for several minutes with no errors yet.

Copy link

github-actions bot commented Jan 5, 2024

Thanks for your interest in our tools! Our customer support team will be able to help you with this. Please email [email protected] with your issue.

Thanks, NanoString Dev Team

@patrickjdanaher patrickjdanaher added the bug Something isn't working label Jan 5, 2024
@patrickjdanaher
Copy link
Collaborator

fixed in upcoming 2.0 release

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