setFactorKinrespData {twKinresp} | R Documentation |
Codes the columns replicate, experiment, and suite as a factor.
setFactorKinrespData(rd)
rd |
data.frame holding the experimental observations. |
reading csv-files into a R-variable: read.csv
Column names must correspond to the variables in assembleKinrespData
coding columns replicate, experiment, and suite as factors: this method
assembling existing R-variables into correct form: assembleKinrespData
creating a unique identifier for replicates across suits and experiments.: getSERId
Modification of input rd.
Thomas Wutzler <thomas.wutzler@web.de>
if( FALSE){ # data file not available at R CHECK on R-forge (dataFilename <- file.path( system.file(package="twKinresp"), "data", "respWutzler10.csv" )) # may open the file with a text editor or a spreadsheet program to inspect the format rd0 <- read.csv(dataFilename) # reading the data from file rd <- setFactorKinrespData(rd0) # Factor coding str(rd) rd[1:10,] }