Skip to content

Commit 3fa4ba3

Browse files
committed
updated data download
1 parent 11146a5 commit 3fa4ba3

File tree

1 file changed

+3
-27
lines changed

1 file changed

+3
-27
lines changed

10-r-environment-setup.Rmd

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -160,35 +160,11 @@ Saving the workspace image saves all objects from the session such as your varia
160160

161161
➤ Copy the below code into your RStudio `console` and press the `enter` key
162162

163-
This will create a new folder called `workshop` and download the required code files and input files for today's activities.
163+
This will download `workshop.zip` and unzip it. This contains four R code notebooks (.Rmd) and six input data files.
164164

165165
```{r download data, echo=TRUE, eval=FALSE}
166-
# Create a new directory for the workshop:
167-
dir.create("workshop")
168-
169-
#Download R code notebooks into 'workshop' directory:
170-
download.file("https://monashbioinformaticsplatform.github.io/Functional_Enrichment_BioCommons_2024/day2_Rnotebooks/gprofiler2.Rmd","workshop/gprofiler2.Rmd")
171-
172-
download.file("https://monashbioinformaticsplatform.github.io/Functional_Enrichment_BioCommons_2024/day2_Rnotebooks/gprofiler2.Rmd","workshop/clusterProfiler.Rmd")
173-
174-
download.file("https://monashbioinformaticsplatform.github.io/Functional_Enrichment_BioCommons_2024/day2_Rnotebooks/gprofiler2.Rmd","workshop/WebGestaltR.Rmd")
175-
176-
download.file("https://monashbioinformaticsplatform.github.io/Functional_Enrichment_BioCommons_2024/day2_Rnotebooks/gprofiler2.Rmd","workshop/novel_species.Rmd")
177-
178-
# Download required input data files:
179-
180-
download.file("https://monashbioinformaticsplatform.github.io/Functional_Enrichment_BioCommons_2024/day2_inputData/Pezzini_DE.txt","workshop/Pezzini_DE.txt")
181-
182-
download.file("https://monashbioinformaticsplatform.github.io/Functional_Enrichment_BioCommons_2024/day2_inputData/gProfiler_hsapiens_07-11-2024_11-27-09__intersections.csv","workshop/gProfiler_hsapiens_07-11-2024_11-27-09__intersections.csv")
183-
184-
download.file("https://monashbioinformaticsplatform.github.io/Functional_Enrichment_BioCommons_2024/day2_inputData/AmexG_v6.0-DD.emapper.annotations.txt","workshop/AmexG_v6.0-DD.emapper.annotations.txt")
185-
186-
download.file("https://monashbioinformaticsplatform.github.io/Functional_Enrichment_BioCommons_2024/day2_inputData/axolotl_DE_results.txt","workshop/axolotl_DE_results.txt")
187-
188-
download.file("https://monashbioinformaticsplatform.github.io/Functional_Enrichment_BioCommons_2024/day2_inputData/go.obo","workshop/go.obo")
189-
190-
download.file("https://monashbioinformaticsplatform.github.io/Functional_Enrichment_BioCommons_2024/day2_inputData/kegg_pathways_2024-11-13.txt","workshop/kegg_pathways_2024-11-13.txt")
191-
166+
download.file("https://raw.githubusercontent.com/MonashBioinformaticsPlatform/Functional_Enrichment_BioCommons_2024/refs/heads/main/workshop.zip", "workshop.zip")
167+
unzip("workshop.zip")
192168
```
193169

194170
<p>&nbsp;</p> <!-- insert blank line -->

0 commit comments

Comments
 (0)