WARNING: UTILITY SCRIPTS ARE FOR INTERNAL USE ONLY AND SHOULD NOT BE USED BY END USERS AS THEIR USE OUT OF CONTEXT COULD LEAD TO UNPREDICTABLE OUTCOMES.
utils.read.dart(
filename,
nas = "-",
topskip = NULL,
lastmetric = "RepAvg",
service.row = 1,
plate.row = 3,
verbose = 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)
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].
Custodian: Bernd Gruber (Post to https://groups.google.com/d/forum/dartr)
Internal function called by gl.read.dart()
Other io:
gl.load()
,
gl.read.csv()
,
gl.read.dart()
,
gl.read.fasta()
,
gl.read.silicodart()
,
gl.save()
,
gl.write.csv()