question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve flexibility and consistency of cell plotting

See original GitHub issue

ATM for plotting cells one would need to pass a pandas dataframe with the x,y,z columns, or a list of column names specifying col 1,2, and 3.

  • The first option should be replaced for consistency with column names ap, si, lr
  • The second option is quite redundant syntax-wise, and should be replaced with just supporting a (n_cells, 3) shape numpy array (so that the user can just invoke add_cells(df[[col1, col2, col3]].values)

can make a PR fir this in the next days! But this will potentially break some code for the users, exp @adamltyson . Should probably go through a deprecation phase.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
vigjicommented, Oct 27, 2020

Yes, will do after Friday!

Regarding passing a numpy array, the reason why it’s the way it is at the moment is that users can pass a df and use another column as metadata for coloring.

I think this is useful but I would just point users in the docstring to how to label the columns for this to work!

0reactions
FedeClaudicommented, Nov 23, 2020

Addressed in brainrender 2.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Optimization of cell viability assays to improve replicability and ...
MTT assay) performed in two-dimensional (2D) cell culture are typically used to evaluate drug efficacy and potency in cells exposed to a drug ......
Read more >
Consistent Cell Maintenance Plating through Automation
In this paper, Beckman Coulter Life Sciences explores automation using of Biomek i7 Workstation to create consistent cell maintenance plating.
Read more >
Mechanical behavior in living cells consistent with the ... - PNAS
Cells were mechanically distorted by impaling the flexible ECM-coated gel with a ... In fact, many cells increase ECM traction when treated with...
Read more >
A Structure-free Method for Quantifying Conformational ...
The method calculates an effective entropy that quantifies the diversity of radii of gyration that a protein can adopt in solution and does...
Read more >
How to Become More Flexible (Because Yes, It's Important)
Learn the definition of flexibility, what exercises improve flexibility, ... or cells, bunched together into progressively larger groups and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found