Chapter 6 A primer for working with vectors

By: Avril Coghlan

Adapted, edited and expanded: Nathan Brouwer () under the Creative Commons 3.0 Attribution License (CC BY 3.0).

6.1 Preface

This is a modification of part of“DNA Sequence Statistics (2)” from Avril Coghlan’s A little book of R for bioinformatics.. Most of text and code was originally written by Dr. Coghlan and distributed under the Creative Commons 3.0 license.

6.2 Vocab

  • base R
  • scalar, vector, matrix
  • vectorized operation
  • regular expressions