Comments (6)
from stream.
Hi Luca,
Thank you for your super quick reply ! And thank you for proposing me your help, that's really nice of you.
I personally don't mind but I don't know if the people who where involved in the production of these data do. Sorry for that. Nevertheless, what I can share with you is the expression matrix filled with 0 values, as well as the labels and their corresponding colors. Hope it is ok for you?
cell_labels.tsv.gz
cell_labels_colors.tsv.gz
hvg_expr_mat.tsv.gz
Ps: On another note, I would be interested in retrieving the cell coordinates on the MLLE embedding to plot them back with the R rgl package. Unfortunately, the way the cells are ordered in the output coord_cells.csv is not the same as in the input expression matrix. Would it be therefore possible to return the cell names as well in the coord_cells table ?
Thank you so much,
Charles
from stream.
Hi, Charles,
Thanks for trying STREAM and your feedbacks! We just fixed it! It should work now.
The issue was caused by our recent update, in which the filename was changed by mistake when uploading them. (Also for the Hex color, we currently only support 6 digits. We noticed that in your example color file, you are using 8 digits. You might need to change that)
Please let us know if you encounter any other issues. Thanks!
Best,
Huidong
from stream.
Awesome !
Thank you very much Huidong, it works like a charm now !
Concerning the output coord_cells.csv file, can you tell me how I can know to which cell does a line correspond to? Thanks to the first column, I can know the color of the cell, but what if I'd like to know its identity?
Best,
Charles
from stream.
Hi, Charles,
I'm happy that it works for you!
In order to avoid some visual artifacts caused by the plotting order of cells, we always shuffle cells before plotting them. Here coord_cells.csv is coordinates of shuffled cells so it's hard to link it to the 'cell_info.tsv' file.
The easiest way to obtain cells' MLLE coordinates and branch ids(line) would be utilizing the precomputed variable files:
import cPickle
f = open('./Precomputed/df_flat_tree.pickle', 'rb')
df_flat_tree = cPickle.load(f)
f.close()
f = open('./Precomputed/dict_node_state.pickle', 'rb')
dict_node_state = cPickle.load(f)
f.close()
The column 'X_projected' and 'branch_id' in df_flat_tree contain MLLE coordinates and branch ids respectively. dict_node_state has node labels.
I hope the above is useful to you. In the meantime, if it solves your concern, would you mind closing this issue? Thanks!
Best,
Huidong
from stream.
Awesome! Thank you for your help!
I'm going to close this issue now.
Best,
Charles
from stream.
Related Issues (20)
- import stream as st st.__version__ HOT 4
- Stream remove label ? HOT 11
- same notebook gives different stream plots HOT 9
- AttributeError: 'Graph' object has no attribute 'node' HOT 2
- Issue with selecting cell types in the STREAM HOT 2
- Stream 1.1 Error HOT 6
- Error in st.cal_qc
- st.plot_stream error HOT 1
- mapping scATAC-seq data with precomputated UMAP
- The first label is missing while plotting HOT 2
- Color palette in plot_flat_tree
- STREAM2 not found in conda channel
- dimension_reduction jupyter kernel dies HOT 1
- Error when runing extend_elastic_principal_graph HOT 1
- TypeError: cannot unpack non-iterable int object
- A known bug related to `select_variable_genes`
- Error in glue(.Internal(R.home()), "library", "base", "R", "base", sep = .Platform$file.sep)
- dimension_reduction failed for method='se'
- error when calling plot_stream()
- error in detect_leaf_markers
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 stream.