Skip to content

Commit

Permalink
Merge pull request #126 from carpentries-incubator/lgmain
Browse files Browse the repository at this point in the history
Cite data carpentry ecology lesson
  • Loading branch information
lgatto authored Mar 19, 2024
2 parents 69cff21 + f7497dc commit 4dc09df
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 12 deletions.
25 changes: 13 additions & 12 deletions episodes/10-data-organisation.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ exercises: 30

::::::::::::::::::::::::::::::::::::::::::::::::::

> This episode is based on the Data Carpentries's *Data Analysis and
> Visualisation in R for Ecologists* lesson.
## Spreadsheet programs

**Question**
Expand Down Expand Up @@ -105,7 +108,7 @@ ensure efficient downstream analysis.
- Which ones do you think spreadsheets are good for?
- Have you accidentally done something in a spreadsheet program that made you
frustrated or sad?


::::::::::::::::::::::::::::::::::::::::::::::::::

Expand Down Expand Up @@ -327,7 +330,7 @@ wrong with this data and how you would fix it.
- How many universal donors (O-) have been tested?
- What is the average weight of AB men?
- How many samples have been tested in the different hospitals?


::::::::::::::::::::::::::::::::::::::::::::::::::

Expand Down Expand Up @@ -563,15 +566,15 @@ confusion and enables others to readily interpret your fields.

**Examples**

| Good Name | Good Alternative | Avoid |
| Good Name | Good Alternative | Avoid |
| ---------------- | ----------------- | ----------------- |
| Max\_temp\_C | MaxTemp | Maximum Temp (°C) |
| Precipitation\_mm | Precipitation | precmm |
| Mean\_year\_growth | MeanYearGrowth | Mean growth/year |
| sex | sex | M/F |
| weight | weight | w. |
| cell\_type | CellType | Cell Type |
| Observation\_01 | first\_observation | 1st Obs |
| Max\_temp\_C | MaxTemp | Maximum Temp (°C) |
| Precipitation\_mm | Precipitation | precmm |
| Mean\_year\_growth | MeanYearGrowth | Mean growth/year |
| sex | sex | M/F |
| weight | weight | w. |
| cell\_type | CellType | Cell Type |
| Observation\_01 | first\_observation | 1st Obs |

### Using special characters in data {#special}

Expand Down Expand Up @@ -830,5 +833,3 @@ without having to look at it and/or fix it.
- Good data organization is the foundation of any research project.

::::::::::::::::::::::::::::::::::::::::::::::::::


3 changes: 3 additions & 0 deletions episodes/20-r-rstudio.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ exercises: 0

::::::::::::::::::::::::::::::::::::::::::::::::::

> This episode is based on the Data Carpentries's *Data Analysis and
> Visualisation in R for Ecologists* lesson.
## What is R? What is RStudio?

The term [R](https://www.r-project.org/) is used to refer to the
Expand Down
3 changes: 3 additions & 0 deletions episodes/23-starting-with-r.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ exercises: 60

::::::::::::::::::::::::::::::::::::::::::::::::::

> This episode is based on the Data Carpentries's *Data Analysis and
> Visualisation in R for Ecologists* lesson.
## Creating objects in R

You can get output from R simply by typing math in the console:
Expand Down
3 changes: 3 additions & 0 deletions episodes/25-starting-with-data.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ exercises: 30

::::::::::::::::::::::::::::::::::::::::::::::::::

> This episode is based on the Data Carpentries's *Data Analysis and
> Visualisation in R for Ecologists* lesson.
## Presentation of the gene expression data

We are going to use part of the data published by [Blackmore *et al.*
Expand Down
3 changes: 3 additions & 0 deletions episodes/30-dplyr.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ download.file(url = "https://github.com/carpentries-incubator/bioc-intro/raw/mai
destfile = "data/rnaseq.csv")
```

> This episode is based on the Data Carpentries's *Data Analysis and
> Visualisation in R for Ecologists* lesson.
## Data manipulation using **`dplyr`** and **`tidyr`**

Bracket subsetting is handy, but it can be cumbersome and difficult to
Expand Down
3 changes: 3 additions & 0 deletions episodes/40-visualization.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ download.file(url = "https://github.com/carpentries-incubator/bioc-intro/raw/mai
rna <- read.csv("data/rnaseq.csv")
```

> This episode is based on the Data Carpentries's *Data Analysis and
> Visualisation in R for Ecologists* lesson.
## Data Visualization

We start by loading the required packages. **`ggplot2`** is included in
Expand Down

0 comments on commit 4dc09df

Please sign in to comment.