Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualization example #171

Merged
merged 34 commits into from
Aug 27, 2020
Merged

Visualization example #171

merged 34 commits into from
Aug 27, 2020

Conversation

wang0324
Copy link
Contributor

@wang0324 wang0324 commented Aug 14, 2020

Added jupyter notebook showcasing examples of plotting and dimensionality reduction functions

Copy link
Member

@ngreenwald ngreenwald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding on the dream team to give more detailed feedback. In general, the notebook needs more detailed comments. Take a look at https://github.com/angelolab/ark-analysis/blob/master/templates/Deepcell_Postprocessing.ipynb for an example. The idea is that this should be fairly self-explanatory

Copy link
Contributor

@alex-l-kong alex-l-kong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great start! A few comments about aesthetics and good coding practices.

templates/example_spatial_analysis_script.ipynb Outdated Show resolved Hide resolved
templates/example_visualization.ipynb Outdated Show resolved Hide resolved
templates/example_visualization.ipynb Outdated Show resolved Hide resolved
templates/example_visualization.ipynb Outdated Show resolved Hide resolved
Copy link
Contributor

@ackagel ackagel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not much to add to Alex's comments

templates/example_visualization.ipynb Outdated Show resolved Hide resolved
Copy link
Member

@ngreenwald ngreenwald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as what Adam and Alex mentioned. If you're submitting a PR, it means you think this is ready to be included in the main version of the github for everyone to see. So try and do any necessary cleanup beforehand, like error messages, before that happens.

Also, the point of these notebooks is both for people to be able to run them, but also as an example of what our code can do. So having the plots already generated is helpful for people who are just browsing through.

@ngreenwald
Copy link
Member

Let me know if you guys think this is useful: https://app.reviewnb.com/angelolab/ark-analysis/pull/171/files/

Copy link
Contributor

@alex-l-kong alex-l-kong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, need to remove the ModuleNotFoundError from the notebook however. @wang0324 if you're having other people run the notebook for you, ask them to make sure all errors are removed before sending it over for you to push. Or, you can ask them to push to this branch instead after they've ironed all the errors out.

templates/example_spatial_analysis_script.ipynb Outdated Show resolved Hide resolved
@review-notebook-app
Copy link

review-notebook-app bot commented Aug 25, 2020

View / edit / reply to this conversation on ReviewNB

ngreenwald commented on 2020-08-25T06:18:40Z
----------------------------------------------------------------

We don't need to repeat these long lists of markers again


@review-notebook-app
Copy link

review-notebook-app bot commented Aug 25, 2020

View / edit / reply to this conversation on ReviewNB

ngreenwald commented on 2020-08-25T06:18:40Z
----------------------------------------------------------------

Same thing here, I don't think we need to show all 6 combinations of plot type and overlay type. Maybe just include one UMAP, one tSNE, and have one of them be patient and the other by cell lineage. I think all of these should be lineage, not cell type, like I mentioned for your lab meeting. It will make them more interpretable


Copy link
Member

@ngreenwald ngreenwald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments from reviewnb

@wang0324
Copy link
Contributor Author

Let me know if you guys think this is useful: https://app.reviewnb.com/angelolab/ark-analysis/pull/171/files/

definitely a lot more useful

Copy link
Member

@ngreenwald ngreenwald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you added all of the files that got generated. We don't want to have those in the repo, just the example script

Copy link
Member

@ngreenwald ngreenwald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job!

@ngreenwald ngreenwald merged commit 14f5975 into master Aug 27, 2020
@ngreenwald ngreenwald deleted the visualization_example branch August 27, 2020 22:59
alex-l-kong pushed a commit that referenced this pull request Jan 14, 2021
* started jupyter notebook

* Updated and Added Function Calls

* Added data for 4 patients

* added more example calls

* switched to new name

* documentation

* init commit

* added comments

* tested

* ran test

* Fixed UMAP import

* generated graphs

* ran example spatial w/ error

* reran it

* no more errors

* fixed data

* Fixed x-axis labels

* New Graphs working

* Added save directory

* Fixed spelling error

* added heading

* generated graphs

* Fixed typo

* Fixed File Directory

* coverage

* removed generated files

Co-authored-by: Neeraj Rattehalli <neeraj.rattehalli@gmail.com>
Co-authored-by: Kevin Chu <kevinlc221@gmail.com>
Co-authored-by: William Xu <williamxu132@gmail.com>
y2kbugger pushed a commit that referenced this pull request Jul 29, 2021
* started jupyter notebook

* Updated and Added Function Calls

* Added data for 4 patients

* added more example calls

* switched to new name

* documentation

* init commit

* added comments

* tested

* ran test

* Fixed UMAP import

* generated graphs

* ran example spatial w/ error

* reran it

* no more errors

* fixed data

* Fixed x-axis labels

* New Graphs working

* Added save directory

* Fixed spelling error

* added heading

* generated graphs

* Fixed typo

* Fixed File Directory

* coverage

* removed generated files

Co-authored-by: Neeraj Rattehalli <neeraj.rattehalli@gmail.com>
Co-authored-by: Kevin Chu <kevinlc221@gmail.com>
Co-authored-by: William Xu <williamxu132@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants