Description Usage Arguments Details Value Author(s) See Also Examples
Obtains the reduced matrix of CNV segments and subject samples from segmentation output. The initail matrix is obtained and reduced for each cromosome in turn. The resulting matrix is a concatenation of the reduced matrices for each chromosome.
1 | getReducedData(x, gg, varSimil = 0.99, subVariation = 0.99)
|
x |
concatenated list containing segmentation outcome for each subject, chromosome and population. |
gg |
genetic info: |
varSimil |
|
subVariation |
|
For x
, concatenation by subject and chromosome, within a single population,
is readily provided by the function summary.parGADA
on an object parGADA
that has been previously segemnted. Population concatenation is the result of
c(summary{parGADA1}), summary{parGADA2}), ...
across groups. Concatenation can be obtained with the function sortPopData(segments,nchr,npop), where segments is the output of GADA, nchr the number of chromosomes analyzed and npop the number of populations in the data set.
getReducedData |
produces a |
attr(getReducedData,"cnv.blocks" |
lists the genetic information of each CNV block |
Alejandro Caceres
reduceMatrix
, getChromosomeDat
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
# 'Hapmap270Cnv.RData' file can be downloaded from ...
load("Hapmap270Cnv.RData")
mat.f<-getReducedData(segments, gen.info, varSimil=0.99, subVariation=0.90)
cnv.blocks<-attr(mat.f,"cnv.blocks")
matrixPlot(mat.f)
#if segments are available form gada output first sort data by populations then get reduced data.
#segments<-sortPopData(segments,nchr,npop)
#mat.f<-getReducedData(segments, gen.info, varSimil=0.99, subVariation=0.90)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.