ChromR

Description

The ChromR package brings some functions to help analysts, Ph.D. students and technicians to plan and organize LC analyses. The functions are separated into 2 main sections, Pre-analysis and Post-analysis. In Pre-analyse, the functions will help to randomize the injections order, calculation of the quantity of mobile phase and the spent time of batches. The Post-analyse functions will help to organize the obtained files according to their respective batches or classes, avoiding human error.

Getting Started

a) Install package dependencies

install.packages(c("devtools","lubridate", "ggplot2", "progress"))

b) Install the package

install_github("ebruginski/ChromR")

Overview

Pre-analysis functions

Sample Randomization:

x = The dataframe for this function need to have: first column as samples id and the second column as sample groups.

gnumber = number of groups in the sample, need to be between 2 and 6.

gnames = names of the groups, need to be the same of the input data frame.

Example:

library(ChromR)

## Input the sample list

samplelist <- read.csv("/example/samplelist.csv")

## Run the randomization function

rsamplelist <- SampleRand(x = samplelist, gnumber = 2, gnames = c("disease", "health"))

Mobile phase and time calculation:

Post-analysis functions



ebruginski/ChromR documentation built on Feb. 3, 2023, 8:34 a.m.