knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

clownfishr

The goal of clownfishr is to standardize data retrieval from the Pinsky Lab Leyte database. Using these funcitons ensures that we all grab the same data in the same way.

Example

This is a basic example which shows you how to solve a common problem:

library(clownfishr)

Pull in the clownfish table data for some fish we are interested in:

fish_of_interest <- c("APCL18_201", "APCL17_355", "APCL15_115")
leyte <- read_db("Leyte")
fish <- get_fish() %>% 
  filter(sample_id %in% fish_of_interest)


pinskylab/clownfishr documentation built on March 18, 2023, 2:01 p.m.