Creating column names either from a .map file or generating dummy names
f.create.snp.names(map.file, header = FALSE, ncol, format, design)
A list containing:
gen.data.colnames - a vector with names of columns, length equal to the number of columns in the genotype dataset (i.e., depending on the format and design).
marker.names - a vector containing the names of markers, as read in from 'map.file', or dummy names.
Filename (with path if the file is not in current directory) of the .map file holding the SNP names, if available (see Details).
Logical: does the map.file contain a header in the first row? Default: FALSE.
Number of columns IN TOTAL in the dataset containing only the genotype data
Format of data (will influence how data is processed) - choose from:
haplin - data already in one row per family,
ped - data from .ped file, each row represents an individual.
.
The design used in the study - choose from:
triad - (default), data includes genotypes of mother, father and child;
cc - classical case-control;
cc.triad - hybrid design: triads with cases and controls
.
The .map file should contain at least two columns, where the second one contains SNP names. Any additional columns should be separated by a whitespace character, but will be ignored. The file should contain a header.