Description Usage Arguments Details Value Examples
Obtains the CNV blocks that have the highes correlation according to
rankVariables
.
1 | getNamesProbes(x, min.correlation = 0.3)
|
x |
|
min.correlation |
value of the minimum correlation to select the variables from the ranking. |
The output of getNamesProbes
can be used to re-train a discriminant analysis discriminCNV
.
produces a vector of characters with the CNV blocks that are most relevant in the discrimination summarized on x
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## Not run:
# 'HapMap270reducedData.RData' file can be downloaded from ...
load("HapMap270reducedData.RData")
cp<-discrimin.cnv(mat.f,pop.cla)
var.proj<-rank.variables(cp,cnv.blocks=cnv.blocks)
select<-getNamesProbes(var.proj, min.correlation=0.5)
#re-train discriminant
cp.2<-discrimin.cnv(mat.f, pop.cla, select=select)
plot(cp.2)
#re-compute correspondence analysis with selected variables.
cm<-dudi.acm.fortran(mat.f[select], scan=FALSE, nf=3)
plot(cm)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.