Skip to content

Commit 9f980c9

Browse files
committed
fix #16 quotes
1 parent 1204683 commit 9f980c9

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

docs/01-r-basics.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ created in R.
157157

158158
```r
159159
human_chr_number <- 23
160-
gene_name <- 'pten'
160+
gene_name <- "pten"
161161
ensemble_url <- "ftp://ftp.ensemblgenomes.org/pub/bacteria/release-39/fasta/bacteria_5_collection/escherichia_coli_b_str_rel606/"
162162
human_diploid_chr_num <- 2 * human_chr_number
163163
```
@@ -208,10 +208,10 @@ Once an object has a value, you can change that value by overwriting it. R will
208208
!!! r-project "r"
209209

210210
```r
211-
# gene_name has the value 'pten' or whatever value you used in the challenge
212-
# We will now assign the new value 'tp53'
211+
# gene_name has the value "pten" or whatever value you used in the challenge
212+
# We will now assign the new value "tp53"
213213

214-
gene_name <- 'tp53'
214+
gene_name <- "tp53"
215215
```
216216

217217
You can also remove an object from R's memory entirely. The `rm()` function will delete the object.
@@ -278,9 +278,9 @@ have important analogies when working with R objects.
278278

279279
Create the following objects in R, then verify their modes using the `mode()` function. Try to guess what the mode will be before you look at the solution.
280280

281-
1. `chromosome_name <- 'chr02'`
281+
1. `chromosome_name <- "chr02"`
282282
2. `od_600_value <- 0.47`
283-
3. `chr_position <- '1001701'`
283+
3. `chr_position <- "1001701"`
284284
4. `spock <- TRUE`
285285
5. `pilot <- Earhart`
286286

0 commit comments

Comments
 (0)