- M
A matrix with SNP data of full form (\(n \times p\)), with \(n\) individuals and \(p\) markers
Individual and marker names are assigned to rownames and colnames, respectively.
Data in matrix is coded as 0, 1, 2 (integer or numeric) (default = NULL).
- base
If TRUE matrix \(\boldsymbol{M}\) is considered as bi-allele SNP data format (character)
and the SNPs are recoded to numerical values before performing the quality control filters
(default = FALSE) (currently deprecated).
- na.string
A character that will be interpreted as NA values (default = "NA").
- map
(Optional) A data frame with the map information with \(p\) rows (default = NULL).
- marker
A character indicating the name of the column in data frame map with the identification
of markers. This is mandatory if map is provided (default = NULL).
- chrom
A character indicating the name of the column in data frame map with the identification
of chromosomes (default = NULL).
- pos
A character indicating the name of the column in data frame map with the identification
of marker positions (default = NULL).
- ref
A character indicating the name of the column in the map containing the reference allele for
recoding. If absent, then conversion will be based on the major allele (most frequent).
The marker information of a given individuals with two of the specified major alleles
in ref will be coded as 2 (default = NULL).
- marker.callrate
A numerical value between 0 and 1 used to remove SNPs with a rate
of missing values equal or larger than this value (default = 1, i.e. no removing).
- ind.callrate
A numerical value between 0 and 1 used to remove individuals with a
rate of missing values equal or larger than this value (default = 1, i.e. no removing).
- maf
A numerical value between 0 and 1 used to remove SNPs with a Minor Allele Frequency
(MAF) below this value (default = 0, i.e. no removing).
- heterozygosity
A numeric value indicating the maximum value of accepted observed heterozygosity (Ho)
(default = 1, i.e. no removing).
- Fis
A numeric value indicating the maximum value of accepted inbreeding (Fis) following
the equation \(|1 - (Ho/He)|\) (default = 1, i.e. no removing).
- impute
If TRUE imputation of missing values is done using the mean of each SNP
(default = FALSE).
- Mrecode
If TRUE it provides the recoded \(\boldsymbol{M}\) matrix from the bi-allelic to numeric SNP
(default = FALSE) (currently deprecated).
- plots
If TRUE generates graphical output of the quality control based on the
original input matrix (default = TRUE).
- digits
Set up the number of digits used to round the output matrix (default = 2).
- message
If TRUE diagnostic messages are printed on screen (default = TRUE).