Usage
pairscan.null(data.obj, geno.mat, covar = NULL,
scan.what = c("eigentraits", "raw.traits"),
total.perm = NULL, n.top.markers = 50,
max.pair.cor, min.per.genotype, verbose = FALSE,
n.cores = NULL)
Arguments
geno.mat
A matrix of genotype values with individuals in rows and markers in columns. Matrix entries contain the probability of the reference allele at each position for each individual.
scan.what
A character string uniquely identifying whether eigentraits or raw traits should be scanned.
total.perm
The total number of permutations to be run across all marker pairs.
top.n.markers
The number of markers to be selected for permutation testing. This is the same number as selected for the pairscan.
min.per.genotype
The minimum number of individuals allowable per genotype. If for a given marker pair, one of the genotypes is underrepresented, the marker pair is not tested. If this value is NULL, max.pair.cor must have a numeric value.
max.pair.cor
A numeric value between 0 and 1 indicating the maximum Pearson correlation that two markers are allowed. If the correlation between a pair of markers exceeds this threshold, the pair is not tested. If this value is set to NULL, min.per.genotype must have a numeric value.
verbose
A logical value indicating whether the progress of the scan should be printed to the screen.
n.cores
An integer specifying the number of cores to be used in parallel processing. If NULL, the choice is made automatically.