-
Notifications
You must be signed in to change notification settings - Fork 30
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
How to treat zeros and NA values from normalized Anndata object? #173
Comments
@estebanelias You should use the normalized data instead of count data. Please check the tutorial: access count data matrixcounts <- t(as.matrix(ad$X)) normalize the count data if the normalized data is not available in the .h5ad filelibrary.size <- Matrix::colSums(counts) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
R version 4.4.0 (2024-04-24) -- "Puppy Cup"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin20
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
[Workspace loaded from ~/.RData]
Loading required package: SeuratObject
Loading required package: sp
Attaching package: ‘SeuratObject’
The following objects are masked from ‘package:base’:
Attaching package: ‘anndata’
The following object is masked from ‘package:SeuratObject’:
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
The following objects are masked from ‘package:base’:
Loading required package: igraph
Attaching package: ‘igraph’
The following objects are masked from ‘package:dplyr’:
The following objects are masked from ‘package:stats’:
The following object is masked from ‘package:base’:
Loading required package: ggplot2
Thanks,
The text was updated successfully, but these errors were encountered: