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

Error running on cellbender adjusted counts #187

Open
yesitsjess opened this issue Apr 10, 2024 · 1 comment
Open

Error running on cellbender adjusted counts #187

yesitsjess opened this issue Apr 10, 2024 · 1 comment

Comments

@yesitsjess
Copy link

Hi,

I've run cellbender on my data and read the filtered count matrix into R using Read_CellBender_h5_Mat from scCustomize and then converted that to a Seurat object using CreateSeuratObject.

I'm getting to following error when I run SCTransform:

Running SCTransform on assay: RNA
Running SCTransform on layer: counts.01. Control 1 UTC
vst.flavor='v2' set. Using model with fixed slope and excluding poisson genes.
Error in density.default(x = genes_log_gmean_step1, bw = "nrd", adjust = 1) : 
  'x' contains missing values

I've checked the cellranger documentation and the count data itself and they're integers so not log transformed. Lots of zero counts but there was before applying cellranger and SCTransform used to handle that fine.

Any help is appreciated. Thanks.

@saketkc
Copy link
Contributor

saketkc commented Apr 10, 2024

What is the output of:

anyNA(object@assays$RNA@counts)

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