Skip to content

Commit

Permalink
templates: minor improvements to quick guide
Browse files Browse the repository at this point in the history
  • Loading branch information
naikymen committed Oct 29, 2024
1 parent 8beff97 commit aef4c98
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ if (!requireNamespace("remotes", quietly = TRUE))
install.packages("remotes")
# Our lab's GitHub organizacion lives at https://github.com/darksideoftheshmoo/
remotes::install_github("darksideoftheshmoo/rcell2-cellid")
if (!requireNamespace("rcell2.cellid", quietly = TRUE))
remotes::install_github("darksideoftheshmoo/rcell2-cellid")
```

# Notebook Setup
Expand Down Expand Up @@ -112,12 +113,12 @@ detailed explanation is available in the [Path to the dataset] section of
this notebook.

```{r}
if(!requireNamespace("remotes")){
if(!requireNamespace("remotes", quietly = T)){
# Install the "remotes" package if not found:
install.packages("remotes")
}
if(!requireNamespace("rcell2.examples")){
if(!requireNamespace("rcell2.examples", quietly = T)){
# Install the "rcell2.examples" package if not found:
remotes::install_github("darksideoftheshmoo/rcell2.examples")
}
Expand Down Expand Up @@ -253,7 +254,10 @@ cell.boundaries %>%
filter(pixtype == "b") %>%
ggplot(aes(x,y,color=factor(t.frame)))+
geom_path()+
facet_wrap(~pos, scales = "free") + theme(aspect.ratio = 1)
facet_wrap(~pos, scales = "free") + theme(aspect.ratio = 1) +
theme_minimal() +
labs(color="frame") +
theme(aspect.ratio = 1)
```

> This data is only available if `cell2` has been run with `output_coords_to_tsv = T`.
Expand Down

0 comments on commit aef4c98

Please sign in to comment.