Skip to content

Commit 1d7f1be

Browse files
committed
markdown source builds
Auto-generated via {sandpaper} Source : a3a27da Branch : main Author : Jason Williams <[email protected]> Time : 2024-10-02 15:28:06 +0000 Message : Merge pull request #274 from naupaka/main Some minor clean up (style/spacing, remove unneeded chunk, etc)
1 parent c7b45f6 commit 1d7f1be

File tree

4 files changed

+1068
-8
lines changed

4 files changed

+1068
-8
lines changed

01-r-basics.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ source: Rmd
2323

2424
::::::::::::::::::::::::::::::::::::::::::::::::::
2525

26-
27-
2826
## "The fantastic world of R awaits you" OR "Nobody wants to learn how to use R"
2927

3028
Before we begin this lesson, we want you to be clear on the goal of the workshop
@@ -220,7 +218,7 @@ but R is "not sure"
220218
about how to assign the name to "human\_ chr\_number" when the object name we
221219
want is "human\_chr\_number".
222220

223-
<img src="fig/rstudio_script_warning.png" alt="rstudio script warning" style="width: 600px;"/>
221+
![RStudio script warning]("fig/rstudio_script_warning.png")
224222

225223
::::::::::::::::::::::::::::::::::::::::::::::::::
226224

@@ -493,7 +491,7 @@ These can be used with literal numbers:
493491

494492

495493
``` r
496-
(1 + (5 ** 0.5))/2
494+
(1 + (5 ** 0.5)) / 2
497495
```
498496

499497
``` output
@@ -531,7 +529,7 @@ functions. Hint: remember the `round()` function can take 2 arguments.
531529

532530

533531
``` r
534-
round((1 + sqrt(5))/2, digits = 3)
532+
round((1 + sqrt(5)) / 2, digits = 3)
535533
```
536534

537535
``` output
@@ -667,7 +665,7 @@ Also, several of these subsetting expressions can be combined:
667665
``` r
668666
# get the 1st through the 3rd value, and 4th value in the snp vector
669667
# yes, this is a little silly in a vector of only 4 values.
670-
snps[c(1:3,4)]
668+
snps[c(1:3, 4)]
671669
```
672670

673671
``` output
@@ -725,7 +723,7 @@ We can also explicitly rename or add a value to our index using double bracket n
725723

726724

727725
``` r
728-
snp_genes[6]<- "APOA5"
726+
snp_genes[6] <- "APOA5"
729727
snp_genes
730728
```
731729

config.yaml

+88
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
#------------------------------------------------------------
2+
# Values for this lesson.
3+
#------------------------------------------------------------
4+
5+
# Which carpentry is this (swc, dc, lc, or cp)?
6+
# swc: Software Carpentry
7+
# dc: Data Carpentry
8+
# lc: Library Carpentry
9+
# cp: Carpentries (to use for instructor training for instance)
10+
# incubator: The Carpentries Incubator
11+
carpentry: 'dc'
12+
13+
# Overall title for pages.
14+
title: 'Intro to R and RStudio for Genomics'
15+
16+
# Date the lesson was created (YYYY-MM-DD, this is empty by default)
17+
created: '2018-03-12'
18+
19+
# Comma-separated list of keywords for the lesson
20+
keywords: 'software, data, lesson, The Carpentries'
21+
22+
# Life cycle stage of the lesson
23+
# possible values: pre-alpha, alpha, beta, stable
24+
life_cycle: 'beta'
25+
26+
# License of the lesson materials (recommended CC-BY 4.0)
27+
license: 'CC-BY 4.0'
28+
29+
# Link to the source repository for this lesson
30+
source: 'https://github.com/datacarpentry/genomics-r-intro'
31+
32+
# Default branch of your lesson
33+
branch: 'main'
34+
35+
# Who to contact if there are any issues
36+
37+
38+
# Navigation ------------------------------------------------
39+
#
40+
# Use the following menu items to specify the order of
41+
# individual pages in each dropdown section. Leave blank to
42+
# include all pages in the folder.
43+
#
44+
# Example -------------
45+
#
46+
# episodes:
47+
# - introduction.md
48+
# - first-steps.md
49+
#
50+
# learners:
51+
# - setup.md
52+
#
53+
# instructors:
54+
# - instructor-notes.md
55+
#
56+
# profiles:
57+
# - one-learner.md
58+
# - another-learner.md
59+
60+
# Order of episodes in your lesson
61+
episodes:
62+
- 00-introduction.Rmd
63+
- 01-r-basics.Rmd
64+
- 02-data-prelude.Rmd
65+
- 03-basics-factors-dataframes.Rmd
66+
- 04-bioconductor-vcfr.Rmd
67+
- 05-dplyr.Rmd
68+
- 06-data-visualization.Rmd
69+
- 07-r-help.Rmd
70+
71+
# Information for Learners
72+
learners:
73+
74+
# Information for Instructors
75+
instructors:
76+
77+
# Learner Profiles
78+
profiles:
79+
80+
# Customisation ---------------------------------------------
81+
#
82+
# This space below is where custom yaml items (e.g. pinning
83+
# sandpaper and varnish versions) should live
84+
85+
86+
url: 'https://datacarpentry.github.io/genomics-r-intro'
87+
analytics: carpentries
88+
lang: en

md5sum.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"config.yaml" "b91cd97fa3b408bd1ac0a00e67ab3219" "site/built/config.yaml" "2024-10-02"
55
"index.md" "7f9c30e6487338a0c3f8ecc4018873ab" "site/built/index.md" "2024-10-02"
66
"episodes/00-introduction.Rmd" "e1354ed92fb458179c8c00b00ee1cf55" "site/built/00-introduction.md" "2024-10-02"
7-
"episodes/01-r-basics.Rmd" "ba3faa27a6f2eb8087acf99679a7ac03" "site/built/01-r-basics.md" "2024-10-02"
7+
"episodes/01-r-basics.Rmd" "c9e52db6d25e0b716fce903bdf9d3ee8" "site/built/01-r-basics.md" "2024-10-02"
88
"episodes/02-data-prelude.Rmd" "ab2b1fd3cdaae919f9e409f713a0a8ad" "site/built/02-data-prelude.md" "2024-10-02"
99
"episodes/03-basics-factors-dataframes.Rmd" "109ed19fade231fe8e1da43903b06539" "site/built/03-basics-factors-dataframes.md" "2024-10-02"
1010
"episodes/04-bioconductor-vcfr.Rmd" "10eb69b4697d7ecb9695d36c0d974208" "site/built/04-bioconductor-vcfr.md" "2024-10-02"

0 commit comments

Comments
 (0)