This R script will generate plot for each variable and write description to a log file.
pheno.plot(
inputFN,
outFN = paste("plot_", inputFN, ".pdf", sep = ""),
csv = TRUE,
sep = " ",
start = 3,
read = TRUE,
logFN = NULL,
track = TRUE
)
character
Input file name or input data
character
Output pdf file name for the plots
logical
Specify if input file is a CSV file. Default is TRUE.
character
Separator between columns. Default is space. If csv=TRUE, this will not be used.
number
The location of the first phenotype variable starts in the input file.
logical
Specify if inputFN is a file name or a data. Default is TRUE when inputFN is a file name.
character
File name of the log file. Default is NULL, while logFN=paste(inputFN,".log",sep="") in the function.
logical
Specify if the intermediate results is printed when the function was executed. Default is TRUE.
Files were written to the current directory. One is .pdf file for plots and the other is .log file for variable description.