Skip to content

Commit

Permalink
Add notes and plotly code
Browse files Browse the repository at this point in the history
  • Loading branch information
lcolladotor committed Mar 24, 2020
1 parent 45596be commit fac3382
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/01-introduction.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ sce$clusters <- factor(igraph::cluster_louvain(g)$membership)
# Visualization.
scater::plotUMAP(sce, colour_by = "clusters")

p <- scater::plotUMAP(sce, colour_by = "clusters")
plotly::ggplotly(p)

## Notes

# Might be better to subset the sce object before running the plotly code


0 comments on commit fac3382

Please sign in to comment.