洛克菲勒大学2021年生信课1:Introduction to R, session 1

R语言零基础同学看过来了,Rockefeller University最新的生信公开课。因为这个系列的课有PPT,所以我直接把PPT贴上来了,就不自己逐字逐句的打了(我好懒)。但是是英文的,学习的同时还可以练习一下英文。今天就先学习第一讲吧(其实对于有基础的同学来说,本篇内容比较浅了。适合零基础,或者几乎零基础的同学学习)。
配套的视频可以在youtube上看(国内的同学总有办法的),视频很长,3个多小时:https://www.youtube.com/watch?v=go8awfELv6U
视频配套的PPT就是下面我贴的100多张图片。如果有想要网页版的同学可以尝试这个链接:https://rockefelleruniversity.github.io/Intro_To_R_1Day/presentations/slides/introToR_Session1.html#1
视频中展示的代码下载地址:https://rockefelleruniversity.github.io/Intro_To_R_1Day/presentations/r_code/introToR_Session1.R

NOTE:上面一张PPT中的here超链接地址:Quick-R: Built-in Functions (statmethods.net),介绍了一部分常用的R的内置function。

NOTE: dir()命令只显示文件的名称。而dir(full.names=T)显示的是文件路径和名称。

NOTE:视频中有人提问,赋值的时候可以用“=”吗?老师的回答是“Yes"。你可以用,但是在R里,是"bad coding practice"。因为it isn't clear directionality。不方便别人看代码。

NOTE: 方括号是用来定位的(索引)。

NOTE: %in%符号是用来询问vector A(左)中的元素是否存在于vector B(右)中。

【练习时间】上面练习的链接在这里:Vectors (rockefelleruniversity.github.io)

【答案】见https://rockefelleruniversity.github.io/Intro_To_R_1Day/exercises/answers/vector_answers.html

【练习时间】https://rockefelleruniversity.github.io/Intro_To_R_1Day/exercises/exercises/matrices_exercise.html

【答案】参考https://rockefelleruniversity.github.io/Intro_To_R_1Day/exercises/answers/matrices_answers.html

【练习时间】https://rockefelleruniversity.github.io/Intro_To_R_1Day/exercises/exercises/factorsAndDataframes_exercise.html

【答案】https://rockefelleruniversity.github.io/Intro_To_R_1Day/exercises/answers/factorsAndDataframes_answers.html

【练习时间】https://rockefelleruniversity.github.io/Intro_To_R_1Day/exercises/exercises/DataInputOutput_exercises.html

【答案】https://rockefelleruniversity.github.io/Intro_To_R_1Day/exercises/answers/DataInputOutput_answers.html

你可能感兴趣的:(洛克菲勒大学2021年生信课1:Introduction to R, session 1)