theislab/paga

Summer student from Pinello Lab at Harvard seeking help from Theis Lab

rebecca-c21 opened this issue · 1 comments

Hi, my name is Rebecca Combs. I am a student at Winsor High School in Boston. I'm fascinated by scRNA-seq data analysis. I have run into a glitch. I'm unable to complete the Nestrorowa et al. 2016 paga tutorial. On ln[3] I keep getting this:

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-4-bfa4168a87e6> in <module>
      1 adata.raw = adata
----> 2 sc.pp.recipe_weinreb17(adata, log=False)
      3 sc.tl.pca(adata)

/opt/anaconda3/lib/python3.7/site-packages/scanpy/preprocessing/_recipes.py in recipe_weinreb17(adata, log, mean_threshold, cv_threshold, n_pcs, svd_solver, random_state, copy)
     48     )
     49     adata._inplace_subset_var(gene_subset)  # this modifies the object itself
---> 50     X_pca = pp.pca(
     51         pp.zscore_deprecated(adata.X),
     52         n_comps=n_pcs,

AttributeError: module 'scanpy.preprocessing._simple' has no attribute 'pca'

I assume that this has been solved after more than a year. Feel free to reopen if required.