pheno.plot: View phenotype variables

Description Usage Arguments Value

View source: R/PHENO_1.plot.R

Description

This R script will generate plot for each variable and write description to a log file.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
pheno.plot(
  inputFN,
  outFN = paste("plot_", inputFN, ".pdf", sep = ""),
  csv = TRUE,
  sep = " ",
  start = 3,
  read = TRUE,
  logFN = NULL,
  track = TRUE
)

Arguments

inputFN

character Input file name or input data

outFN

character Output pdf file name for the plots

csv

logical Specify if input file is a CSV file. Default is TRUE.

sep

character Separator between columns. Default is space. If csv=TRUE, this will not be used.

start

number The location of the first phenotype variable starts in the input file.

read

logical Specify if inputFN is a file name or a data. Default is TRUE when inputFN is a file name.

logFN

character File name of the log file. Default is NULL, while logFN=paste(inputFN,".log",sep="") in the function.

track

logical Specify if the intermediate results is printed when the function was executed. Default is TRUE.

Value

Files were written to the current directory. One is .pdf file for plots and the other is .log file for variable description.


postGGIR documentation built on July 14, 2021, 5:11 p.m.