A FBM.code256
(typically <bigSNP>$genotypes).
You can have missing values in these data.
ind.row
An optional vector of the row indices (individuals) that
are used. If not specified, all rows are used.
Don't use negative indices.
ind.col
An optional vector of the column indices (SNPs) that are used.
If not specified, all columns are used.
Don't use negative indices.
size
For one SNP, window size around this SNP to compute correlations.
Default is 500. If not providing infos.pos (NULL, the default), this is
a window in number of SNPs, otherwise it is a window in kb (genetic distance).
alpha
Type-I error for testing correlations.
Default is 1 (no threshold is applied).
fill.diag
Whether to fill the diagonal with 1s (the default)
or to keep it as 0s.
infos.pos
Vector of integers specifying the physical position
on a chromosome (in base pairs) of each SNP.
Typically <bigSNP>$map$physical.pos.
ncores
Number of cores used. Default doesn't use parallelism.
You may use nb_cores.
Value
The (Pearson) correlation matrix. This is a sparse symmetric matrix.