check_that_species_are_tested_for_more_than_one_concentration: Check that species are tested for more than one concentration

Description Usage Arguments Value Examples

Description

Check that species are tested for more than one concentration

Usage

1

Arguments

dataset

The loaded dataset. Must contain only one contaminant.

concentration_col_name

The name of the column containing the concentrations.

time_col_name

The name of the column containing the time stamps.

n_alive_col_name

The name of the column containing the number of animals alive.

species_identifier_col_name

The name of the column containing a single identifier per species.

test_id_col_name

The name of the column containing a identifier to dis-ambiguate several tests for the same species.

keep_only

Choose whether to keep the whole dataset or only the necessary columns

Value

The dataset with columns number_alive, concentration, time and species and eventually the test_id.

Examples

1
2
3
4
5
6
7
8
library(tidyverse)
dataset = read_csv('../data/RTT_dataV2.csv') %>%
    setNames(nm = sapply(X = names(.), FUN = function(xx) gsub(' ','_',xx)))

Finish when some more pre-processing is done

dataset %>%
   rename()

konkam/RTTanalyse documentation built on May 20, 2019, 12:55 p.m.