-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathRPR-Introduction.R
50 lines (44 loc) · 1.36 KB
/
RPR-Introduction.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# tocID <- "RPR-Introduction.R"
#
#
# Purpose: A Bioinformatics Course:
# R code accompanying the RPR-Introduction unit
#
# Version: 1.0
#
# Date: 2020-09-18
# Author: Boris Steipe ([email protected])
#
# V 1.0 Updtaed workflow; live
# V 0.1 First code
#
# TODO:
#
#
# == HOW TO WORK WITH LEARNING UNIT FILES ======================================
#
# DO NOT SIMPLY source() THESE FILES!
# If there are portions you don't understand, use R's help system, Google for an
# answer, or ask your instructor. Don't continue if you don't understand what's
# going on. That's not how it works ...
#
# ==============================================================================
# === TASK: Local script
#
# - Open the file myScript.R
#
# - Create a section header with a date.
# - Enter an R-expression that will produce the first 11 powers of 2 (starting
# from 0). Not a loop - a single expression. The first number you get must
# be 1. The last number you get must be 1024.
#
# - Save the file in the myScripts folder, and close it.
#
# - Open the file again, select the expression and type Cmd+Enter (or Cmd+R)
# to execute it.
#
# - Done
# (This task is meant to make sure that writing R expressions, saving
# them in scripts, opening script files and executing code in the file works
# for you. If there is an issue, get in touch.)
# [END]