2017-09-12 20:09:20 +00:00
|
|
|
# RPR-Introduction.R
|
|
|
|
#
|
|
|
|
# Purpose: A Bioinformatics Course:
|
|
|
|
# R code accompanying the RPR-Introduction unit
|
|
|
|
#
|
|
|
|
# Version: 0.1
|
|
|
|
#
|
|
|
|
# Date: 2017 08 25
|
|
|
|
# Author: Boris Steipe (boris.steipe@utoronto.ca)
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
# - Update the header of the script to emulate the header of the file you are
|
|
|
|
# reading right now. Don't bother giving the myScript.R file version numbers
|
|
|
|
# though.
|
|
|
|
# - Create a section header with a date.
|
2017-10-03 14:40:22 +00:00
|
|
|
# - Enter an R-expression that will produce the first 10 powers of 2 (starting
|
2017-09-12 20:09:20 +00:00
|
|
|
# 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.
|
|
|
|
|
2017-09-21 21:50:16 +00:00
|
|
|
# (This task is meant simply to make sure that writing R expressions, saving
|
|
|
|
# them in scripts, and opening and executing script files works for you. )
|
2017-09-12 20:09:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# [END]
|