Utility to import DarT data to R Internal function called by gl.read.dart()
utils.read.dart(
filename,
nas = "-",
topskip = NULL,
lastmetric = "RepAvg",
service.row = 1,
plate.row = 3,
verbose = NULL
)
Path to file (csv file only currently) [required].
A character specifying NAs [default '-'].
A number specifying the number of rows to be skipped. If not provided the number of rows to be skipped are 'guessed' by the number of rows with '*' at the beginning [default NULL].
Specifies the last non genetic column [default 'RepAvg']. Be sure to check if that is true, otherwise the number of individuals will not match. You can also specify the last column by a number.
The row number in which the information of the DArT service is contained [default 1].
The row number in which the information of the plate location is contained [default 3].
Verbosity: 0, silent or fatal errors; 1, begin and end; 2, progress log ; 3, progress and results summary; 5, full report [default NULL].
A list of length 5. #dart format (one or two rows) #individuals, #snps, #non genetic metrics, #genetic data (still two line format, rows=snps, columns=individuals)