Skip to content

Commit 3ce107d

Browse files
committed
editing text
1 parent 27df881 commit 3ce107d

File tree

3 files changed

+15
-27
lines changed

3 files changed

+15
-27
lines changed

episodes/30-dplyr.Rmd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ download.file(url = "https://github.com/carpentries-incubator/bioc-intro/raw/mai
3434
> This episode is based on the Data Carpentries's *Data Analysis and
3535
> Visualisation in R for Ecologists* lesson.
3636
37+
## HPCBio Notes
38+
39+
If you’re signed up for an HPCBio workshop, **this episode is required** reading.
40+
You may watch a recording of this episode by viewing the video named "Episode 5: Manipulating and analyzing data with dplyr" on our video playlist.
41+
Please see your email for a URL to the playlist.
42+
3743
## Data manipulation using **`dplyr`** and **`tidyr`**
3844

3945
Bracket subsetting is handy, but it can be cumbersome and difficult to

episodes/40-visualization.Rmd

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ rna <- read.csv("data/rnaseq.csv")
3434
> This episode is based on the Data Carpentries's *Data Analysis and
3535
> Visualisation in R for Ecologists* lesson.
3636
37+
## HPCBio Notes
38+
39+
If you’re signed up for an HPCBio workshop, **this episode is required** reading.
40+
You may watch a recording of this episode by viewing the video named "Episode 6: Data visualization" on our video playlist.
41+
Please see your email for a URL to the playlist.
42+
3743
## Data Visualization
3844

3945
We start by loading the required packages. **`ggplot2`** is included in
@@ -687,30 +693,6 @@ ggplot(data = mean_exp_by_chromosome, mapping = aes(x = time,
687693

688694
::::::::::::::::::::::::::::::::::::::::::::::::::
689695

690-
The `facet_wrap` geometry extracts plots into an arbitrary number of
691-
dimensions to allow them to cleanly fit on one page. On the other hand,
692-
the `facet_grid` geometry allows you to explicitly specify how you want
693-
your plots to be arranged via formula notation (`rows ~ columns`; a `.`
694-
can be used as a placeholder that indicates only one row or column).
695-
696-
Let's modify the previous plot to compare how the mean gene expression
697-
of males and females has changed through time:
698-
699-
```{r mean-exp-time-facet-sex-rows, purl=TRUE}
700-
# One column, facet by rows
701-
ggplot(data = mean_exp_by_time_sex,
702-
mapping = aes(x = time, y = mean_exp, color = gene)) +
703-
geom_line() +
704-
facet_grid(sex ~ .)
705-
```
706-
707-
```{r mean-exp-time-facet-sex-columns, purl=TRUE}
708-
# One row, facet by column
709-
ggplot(data = mean_exp_by_time_sex,
710-
mapping = aes(x = time, y = mean_exp, color = gene)) +
711-
geom_line() +
712-
facet_grid(. ~ sex)
713-
```
714696

715697
## `ggplot2` themes
716698

@@ -942,7 +924,7 @@ install.packages("patchwork")
942924
```
943925

944926
```{r patchworkplot1, purl=TRUE}
945-
library("patchwork")
927+
library(patchwork)
946928
count_gene_chromosome + exp_boxplot_sex
947929
## or count_gene_chromosome | exp_boxplot_sex
948930
```
@@ -985,7 +967,7 @@ install.packages("gridExtra")
985967
```
986968

987969
```{r gridarrange-example, message=FALSE, fig.width=10, purl=TRUE}
988-
library("gridExtra")
970+
library(gridExtra)
989971
grid.arrange(count_gene_chromosome, exp_boxplot_sex, ncol = 2)
990972
```
991973

episodes/60-next-steps.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ exercises: 45
2626

2727
## HPCBio Notes
2828

29-
If you're signed up for an HPCBio workshop, **this episode 7 is optional** but recommended reading if you're signed up for Traditional Bulk RNA-Seq Analysis.
29+
If you're signed up for an HPCBio workshop, **this episode 7 is optional** but recommended reading if you're signed up for any RNA-Seq Analysis workshop.
3030
There is no recording available for this episode, so please follow along with the text-based lesson below.
3131

3232
## Next steps

0 commit comments

Comments
 (0)