knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
FastRPA
is a tool for the filtering, organizing, analysing and plotting of root length measurement data. This tool enables users to select root length measurements from multiple files containing root length measurements. This allows to organize data in acentrale location from numerous data files. In addition, root measurements can be normalized according to the control Treatment. A plot can also be generated to have a simple visualization of the data. This document gives a tour of the FastRPA package.
To download FastRPA, use the following commands:
require("devtools") devtools::install_github("ErikEnsminger/FastRPA", build_vignettes = TRUE) library("FastRPA")
To list all functions available in this package:
ls("package:FastRPA")
To view sample dataset in this package:
data(package = "FastRPA")
To run the shiny app of this package:
FastRPA::runFastRPA()
There are 3 functions in this package: filterData
, analyseRootData
, and createRootBarG
.
filterData
allows for the user to input a file containing root length measurements, select certain root length measurements from this file and add them to a user defined output file. Repeating the filterData
for numerous files containing different root length measurements allows for the fast collection of measurements to one file.
analyseRootData
allows for the user to take the output file from filterData
(which contains the all the different root measurements) and normalize the data based on a user defined control Treatment that must exist in the data set. The mean of each root length with respect to root treatment and the geneLines is then calculated. The resulting data is then exported to a new user defined output file.
createRootBarG
allows for the bar plotting of root length measurements from the output file of analyseRootData
, with respect to the experimental treatment and the gene lines.
Here is an example workflow using all 3 functions. All the input and output data for each functions can be found
under under the file path: FastRPA/inst/extdata/
Using filterData
:
Precondition the user input: Column name for root length measurements
must be: Longest Shortest Path
input <- system.file("extdata", "inputFileFunc1.csv", package = "FastRPA") roi <- c(2,1,5) outputFile <- system.file("extdata", "outputFileFunc1.csv", package = "FastRPA") filterData <- filterData(inputFile = input, roi = roi, rootLines = "ASER.12.32", rootTreatment = "TEX", outputFile = outputFile)
Output:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.