Skip to content

Commit

Permalink
Update 06-data-visualization.Rmd
Browse files Browse the repository at this point in the history
changed `geom_point` to `geom_line` as this example needs to use a different geom from the previous example to illustrate the point
  • Loading branch information
ggrimes authored Sep 20, 2023
1 parent e7b767b commit b2b2863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion episodes/06-data-visualization.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Notice that we can change the geom layer and colors will be still determined by

```{r color-by-sample-2, purl=FALSE}
ggplot(data = variants, aes(x = POS, y = DP, color = sample_id)) +
geom_point(alpha = 0.5)
geom_line(alpha = 0.5)
```

To make our plot more readable, we can add axis labels:
Expand Down

0 comments on commit b2b2863

Please sign in to comment.