View source: R/analyseRootData.R
analyseRootData | R Documentation |
Given a user defined inputFile path, which contains the GeneLines names, and the root length values of the control treatments, the function will normalize the root length measurements. For this, the user must include and specify which treatment in the inputFile is the control treatment.
analyseRootData(inputFile, controlTreatment, outputFile)
inputFile |
A string representing the path for the .csv file containing Root Length Data |
controlTreatment |
A string representing the control Treatment included in inputFile |
outputFile |
A name of a files to which the calculated averages will be exported |
After calculating the average root length of the control treatment for each root line, and the average root length of each treatment, the treatments will be normalized by the control treatment average.
The function will then output the new root output data to a user specified output file
Output is data frame of data output file. In addition, data is exported to the outputFile
## Not run:
#Example 1:
# Normalizing root data and calculating average of root treatments.
#file inputFileFunc2, first column are the gene Lines, MEX, TEX and WES columns are 3 differnet root treatments
input <- system.file("extdata", "inputFileFunc2.csv", package = "FastRPA")
outputFile <- system.file("extdata", "outputFileFunc2.csv", package = "FastRPA")
analyseRoot <- analyseRootData(inputFile = input, controlTreatment = "WES",
outputFile = outputFile)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.