aertslab / SCope

Fast visualization tool for large-scale and high dimensional single-cell data
GNU General Public License v3.0
68 stars 15 forks source link

getCellMetadata #21

Closed kreftl closed 6 years ago

kreftl commented 6 years ago

for the lasso selected cells

KrisDavie commented 6 years ago

Which data do you want back? I'm assuming you will send cellIDs (the actual names like DG2-AAACCTGAGGCCATAG-1).

kreftl commented 6 years ago

all the data i need to display to the user can i send the indices instead ?

KrisDavie commented 6 years ago

Ok indicies are fine, was worried about plotting level, but because of the blend mode, that's fine.

I was thinking of making this quite an extensive function, that can return raw/normalised gene expression values (for plotting bar plots / box lots / violin plots) of gene expression, and same for AUC values, as well as lots of metadata etc like age, clusterings and so on.

It will be optional for the most part (i.e. if you don't ask for regulons, I won't return the values)

How does that sound?

kreftl commented 6 years ago

sounds nice!

KrisDavie commented 6 years ago

resolved in https://github.com/aertslab/SCope/commit/9d86eb9e18eff4075e489e27024c67ac84e1a812

kreftl commented 6 years ago

broken :( (most probably after 8a0f18d248d9f1a16c0e144d0fc77d076c99bd58) ERROR:root:Exception calling application: too many values to unpack (expected 2) Traceback (most recent call last): File "C:\ProgramData\Miniconda3\lib\site-packages\grpc_server.py", line 385, in _call_behavior return behavior(argument, context), True File "d:\projects\scope\scope-server\scopeserver\modules\gserver\GServer.py", line 626, in getCellMetaData annoName=anno) ValueError: too many values to unpack (expected 2)

KrisDavie commented 6 years ago

Should be fixed in backend (If you didn't get pySCENIC working yet, let me know)

kreftl commented 6 years ago

yep, works nicely again. thx! (the the pySCENIC too)