Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey,
this is part of the effort to bring the tutorial update to @le-ander 2021 container standards. We will of course be making more adjustments to the content and interpretations, but this is just to get the syntax right.
Using Scanpy 1.6.1 now, but we should go even further and update to the latest version.
adata.var_names_make_unique()
when reading the single file or we run into naming issues.calculate_qc_metrics
returnsn_genes_by_counts
and nottotal_genes_by_counts
adata = adata[adata.obs['pct_counts_mt'] < 20]
and notadata = adata[adata.obs['pct_counts_mt'] < 0.2]
calculateSumFactors
and notcomputeSumFactors
What currently confuses me is that the marker_overlap is total bonkers
The only difference is that the louvain clustering (which should be leiden anyways) returns 10 instead of 9 clusters. Everything else is also very similar. Will have to look into this when integrating all of this into the 2.0 book.
CC @AnnaChristina @danielStrobl should help as starting point.
Signed-off-by: zethson [email protected]