Comments (2)
UPDATE: Ran my updated code on jupyter notebook with the solutions listed above and here is the outcome... I do not know why we need to make the gene names different since we are looking only at cell ID but I did it any way (not shown).
Loading loom files and packages
loading seurat files (NOTE: manually changed Cell IDs) and attempting to merge
Error:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
/tmp/ipykernel_34687/274049558.py in <module>
1 #integration...originally cellID_obs[cellID_obs_WT3[0]
----> 2 cellID_obs_WT3 = cellID_obs[cellID_obs[z].str.contains("221929_WT3:")]
3 cellID_obs_WT4 = cellID_obs[cellID_obs[z].str.contains("222863_WT4:")]
4 cellID_obs_KO4 = cellID_obs[cellID_obs[z].str.contains("222862_KO4:")]
5 cellID_obs_KO5 = cellID_obs[cellID_obs[z].str.contains("222864_KO5:")]
NameError: name 'z' is not defined
Changing the code to the suggestion in #9 produced the following error:
Anyone know how to proceed?
from seurat-to-rna-velocity.
In case anyone else runs into this issue, I just manually went in and created a new .CSV with just the one column. That way, if python is selecting the whole df, there is no way it selects anything else...kind of a long way round since the code is supposed to do it for me but I couldn't find why it was not cooperating.
from seurat-to-rna-velocity.
Related Issues (20)
- Any idea about the multiple sample looms to integrated by loompy.combine function? HOT 1
- raise ValueError"cannot reindex from a duplicate axis" HOT 3
- Imported tSNE coordintes not being read!
- Error: /lib64/libm.so.6: version `GLI BC_2.29' not found
- Question about the loom file
- Kallisto Bustools "Failed to find compatible kallisto binary." HOT 2
- Index splitting and specifying index for kb count
- How to run velocyto/RNA-velcocity of a subset
- error merging Index data frame with UMAP
- Fail to install velocyto
- errors when running kb count
- general question embedding projection
- ValueError: Value passed for key 'X_umap' is of incorrect shape. Values of obsm must match dimensions (0,) of parent.
- Fail to filter loom by CellID extracted from Seurat HOT 9
- ValueError: cannot reindex from a duplicate axis when merge. HOT 5
- 10x 5 prime data
- Mention velociraptor package HOT 1
- Getting AssertionError in scv.pp.moments HOT 7
- Multiple-Sample Integration for filtering cell ID based off Seurat HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seurat-to-rna-velocity.