bch441-work-abc-units/RPR-Introduction.R
2017-09-12 16:09:20 -04:00

85 lines
2.2 KiB
R

# 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.
# - Enter an R-expression that will produce the first 21 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.
#
#
# ==============================================================================
" Introduction:
...
"
# ==============================================================================
# PART ONE: REVIEW
# ==============================================================================
# == SECTION ===================================================================
# == Subsection
# Continue ...
# ==============================================================================
# APPENDIX: OUTLOOK
# ==============================================================================
"There are many more functions for ... that this tutorial did not cover. You should know about the following. Look up the function and write a short bit of example code that uses it:"
?subset
?sweep
?with # ... and within()
"Then you should know about the following packages. Open the vignette and browse through it. You should know be able to come up with least one use-case where the package functions would be useful:
https://cran.r-project.org/web/packages/magrittr/
"
# [END]