-
Notifications
You must be signed in to change notification settings - Fork 68
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
Add a Quick Start tutorial #1869
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor changes suggested, but I'm ok if you think the current way is better
from starfish import data | ||
from starfish.image import Filter | ||
from starfish.image import ApplyTransform, LearnTransform | ||
from starfish.spots import FindSpots, DecodeSpots | ||
from starfish.types import Features, Axes | ||
from starfish.image import Segment | ||
from starfish.spots import AssignTargets | ||
from starfish import ExpressionMatrix | ||
from starfish import ImageStack | ||
|
||
import numpy as np | ||
import matplotlib.pyplot as plt | ||
import pandas as pd | ||
import seaborn as sns |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for tutorials, I prefer to do imports in the same block that they are used. a large list of imports is likely to be glanced over. keeping the imports in the same block where they are used lets the user understand where each processing step lives.
'capture_repr': ('_repr_html_', '__repr__'), | ||
'ignore_repr_types':r'str|matplotlib.axes', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clever
# set subsection order | ||
'subsection_order': ExplicitOrder(['../../examples/quick_start', | ||
'../../examples', | ||
'../../examples/data_formatting', | ||
'../../examples/data_loading', | ||
'../../examples/how_to', | ||
'../../examples/pipelines', | ||
]), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's nice
Codecov Report
@@ Coverage Diff @@
## master #1869 +/- ##
=======================================
Coverage 87.77% 87.77%
=======================================
Files 168 168
Lines 5785 5785
=======================================
Hits 5078 5078
Misses 707 707 Continue to review full report at Codecov.
|
See it on read the docs here.
The Quick Start tutorial is aimed at introducing new users unfamiliar with starfish to all the basic components of a starfish pipeline in under 10 minutes. It allows them to "demo" starfish and hopefully entices them to try using starfish to process their own data.
List of changes: