-
Notifications
You must be signed in to change notification settings - Fork 28
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
"obs_names" error in snapatac2.tl.add_cor_scores #240
Comments
It will be helpful if you can provide me with a small example h5ad file and a few lines of code to reproduce this error. Thank you! |
thanks for reply!
all_regions = ['chr1:1618389-1618890',
`--------------------------------------------------------------------------- File ~/miniconda3/envs/epi/lib/python3.9/site-packages/snapatac2/tools/_network.py:137, in add_cor_scores(network, gene_mat, peak_mat, select, overwrite) AttributeError: 'DataFrame' object has no attribute 'obs_names'` I see the network nodes and edges are created with genes. but error with 'obs_names'
|
You need to specify |
thanks for the swift reply! |
Short answer is yes, if you have a sensible grouping that can be apply to both RNA and ATAC, e.g., group the cells according to cell types. More details will be provided once I finish the tutorial. |
okay, thanks for the advice and looking fwd to the tutorial. Regards |
Will the tutorail will be published soon:D? |
Hi and thanks for developing this very useful tool!
when i tried to use snapatac2.tl.add_cor_scores(network, peak_mat= data) it gives me error of "'NoneType' object has no attribute 'obs_names'"
data:Anndata scATAC processed with snapatac2,
the previous step of the network works fine. created nodes and edges.
any idea how to workaround that?
snapatac2: i used pip install snapatac2[all] for installation.
many thanks in advance.
The text was updated successfully, but these errors were encountered: