knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(tidybiology)
datasets <- data(package = "tidybiology")$result[, "Item"]

tidybiology: An Introduction to Biological Data Science in R

Tidybiology is workshop-style series of lectures that provides an introduction to the emerging field of Data Science in R, including data analysis and visualization, with a particular focus on its utility for biological insight. This series is designed to be either self-taught or lectures for in-person learning. The tidybiology package provides biological datasets to be used along side the tidyverse R packages and code.

Viewing datasets

This package currently contains r length(datasets) datasets. To see the datasets currently contained within the tidybiology package:

library(tidybiology) #load the library
data(package = "tidybiology")
print(datasets)

Using datasets

To load a dataset, simple use the data() function:

data("simplechromosome")

Make a simple plot, by calling the loaded dataframe:

plot(simplechromosome, xlab = "Chromosome", ylab = "Number of Basepairs")


hirscheylab/tidybiology documentation built on May 20, 2022, 10:55 p.m.