Description Usage Arguments Details Value Author(s) See Also
View source: R/SNPRelate_Main.r
Calculate the individual dissimilarities for each pair of individuals
1 2 |
gdsobj |
a GDS file object ( |
sample.id |
a vector of sample id specifying selected samples; if NULL, all samples are used |
snp.id |
a vector of snp id specifying selected SNPs; if NULL, all SNPs are used |
autosome.only |
if TRUE, use autosomal SNPs only |
remove.monosnp |
if TRUE, remove monomorphic SNPs |
maf |
to use the SNPs with ">= maf" only; if NaN, no MAF threshold |
missing.rate |
to use the SNPs with "<= missing.rate" only; if NaN, no missing threshold |
num.thread |
the number of CPU cores used |
verbose |
if TRUE, show information |
The minor allele frequency and missing rate for each SNP passed in snp.id
are
calculated over all the samples in sample.id
.
The details will be described in future.
Return a class "snpgdsDissClass":
sample.id |
the sample ids used in the analysis |
snp.id |
the SNP ids used in the analysis |
diss |
a matrix of individual dissimilarity |
Xiuwen Zheng
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.