Setup

Functions for setting up sampledblib.r

install_sampledblib()

Install SampleDBLib

initialize_sampledb()

Initialize SampleDB

set_date_format()

Set Date Format

CRUD

Functions for reading and manipulating SampleDB

create_location()

Create Location

create_specimen_type()

Create Specimen Type

create_study()

Create Study

find_all_specimens()

Find All Specimens

add_matrix_plate_with_specimens()

Add Matrix Plate with Specimens

add_study_subject()

Add study subject

add_study_subjects()

Add study subjects

get_location()

Get Location

get_locations()

Get Locations

get_matrix_plate()

Get Matrix Plate

get_matrix_plates()

Get Matrix Plates

get_matrix_tube()

Get Matrix Tube

get_matrix_tubes()

Get Matrix Tubes

get_matrix_tubes_from_specimens()

Get Matrix Tubes from Specimens

get_specimen_type()

Get Specimen Type

get_specimen_types()

Get Specimen Types

get_specimens()

Get Specimens

get_studies()

Get all studies

get_study()

Get study

get_study_by_short_code()

Get study by short code

get_study_subjects()

Get Study Subjects

delete_location()

Delete Location

delete_matrix_tubes()

Delete Matrix Tubes

delete_matrix_tubes_and_specimens()

Delete Matrix Tubes and Specimens

delete_plate()

Delete Plate

delete_specimen_type()

Delete Specimen Type

delete_study_by_id()

Delete study by ID

delete_study_subject()

Delete study subject

update_location()

Update Location

update_matrix_tube_locations()

Update matrix tube locations

update_specimen_type()

Update Specimen Type

update_study()

Update Study

set_matrix_tubes_exhausted()

Set Matrix Tubes Exhausted

unset_matrix_tubes_exhausted()

Unset Matrix Tubes Exhausted

File Parsing

Functions to simplify the parsing of files into appropriate datastructures for manipulating the database

parse_barcode_file()

Parse Barcode File

parse_barcode_search_file()

Parse Barcode Search File

parse_new_plate_file()

Parse New Plate File

parse_plate_update_files()

Parse Plate Update Files

parse_specimen_search_file()

Parse Specimen Search File

parse_study_subject_file()

Parse Study Subject File

parse_subject_search_file()

Parse Subject Search File