CLQD {gpart} | R Documentation |
CLQD
partitioning the given data into subgroups that contain SNPs which are highly correlated.
CLQD(geno, SNPinfo, CLQcut=0.5, clstgap=40000, hrstType=c("near-nonhrst", "fast", "nonhrst"), hrstParam=200, CLQmode=c("density", "maximal"), LD=c("r2", "Dprime"))
geno |
Data frame or matrix of additive genotype data, each column is additive genotype of each SNP. (Use data of non-monomorphic SNPs) |
SNPinfo |
Data frame or matrix of SNPs information. 1st column is rsID and 2nd column is bp position. |
CLQcut |
Numeric constant; a threshold for the LD measure value |r|, between 0 to 1. Default 0.5. |
clstgap |
Numeric constant; a threshold of physical distance (bp) between two consecutive SNPs
which do not belong to the same clique, i.e., if a physical distance between two consecutive SNPs in a clique
greater than |
hrstType |
Character constant; heuristic methods.
If you want to do not use heuristic algorithm, set |
hrstParam |
Numeric constant; parameter for heuristic algorithm "near-nonhrst".
Default is |
CLQmode |
Character constant; the way to give priority among detected cliques.
if |
LD |
Character constant; LD measure to use, "r2" or "Dprime". Default "r2". |
A vector of cluster numbers of all SNPs (NA
represents singleton cluster).
Sun-Ah Kim <sunny03@snu.ac.kr>, Yun Joo Yoo <yyoo@snu.ac.kr>
data(geno) data(SNPinfo) CLQD(geno=geno[,1:100],SNPinfo=SNPinfo[1:100,]) ## Not run: CLQD(geno=geno[,1:100],SNPinfo=SNPinfo[1:100,], CLQmode = 'maximal') CLQD(geno=geno[,1:100],SNPinfo=SNPinfo[1:100,], LD='Dprime') ## End(Not run)