diff --git a/.gitignore b/.gitignore index e43b0f9..3ecd7f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .DS_Store +.Rproj.user diff --git a/docs/Intro_to_R_data_analysis_part_1.html b/docs/Intro_to_R_data_analysis_part_1.html new file mode 100644 index 0000000..3ec194f --- /dev/null +++ b/docs/Intro_to_R_data_analysis_part_1.html @@ -0,0 +1,7922 @@ + + +
+ + + +Natalie Elphick
+Bioinformatician I
+Bioinformatics Core
What is your level of experience with coding/data +analysis?
+What is R and why should you use it?
The RStudio interface
File types
Error messages
Variables
Types & data structures
+10 min break
Math and logic operations
Functions and libraries
Reading data into R
.R
+.RmdR code with Markdown for text
+formatting.Rmd file in RStudio to
+explore the basics of how they work:## [1] 1
+Which variable name is not valid in R?
+10:00
+if ("Akita" %in% dog_breeds) {
+ print("dog_breeds already contains Akita")
+} else {
+ dog_breeds <- c("Akita", dog_breeds)
+}## [1] "dog_breeds already contains Akita"
+## Already contains this dog
+
+## [1] "German Shepard" "Labrador Retriever" "Akita"
+## [4] "Bulldog"
+example_code/1_convert_syntax_example.R for an example use
+caseBoth of these have stringent requirements for packages they host +(eg. for BioConductor they have to run on all major operating +systems)
Prefer BioConductor packages if available over CRAN
Prefer CRAN packages over ones only hosted on GitHub
R +Markdown: The Definitive Guide : Excellent R markdown +reference