filterData | R Documentation |
A function that takes root measurements selected by the user and adds them to a new output file specified by the user.
filterData(inputFile, roi = c(), rootLines, rootTreatment, outputFile)
inputFile |
A string representing the path for the input file containing root measurement data |
roi |
a vector containing the index of specified root measurements to be exported to the outputFile |
rootLines |
A string representing the root line the specified roi root measurements parameters are. |
rootTreatment |
A string representing the root treatment the specified roi root root measurements parameters are. |
outputFile |
A string representing the path for the output file to which root measurements are added |
return is a dataframe which will also be exported to outputFile
Erik Ensminger erik.ensminger@mail.utoronto.ca
Steipe B., ABC project (.utility 4.07) A Bioinformatics Course: Applied Bioinformatics Link.
# Example 1:
# Adding two selected root measurement to output file
## Not run:
library(plyr)
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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.