Description Usage Arguments Details Value Author(s) See Also Examples
Initialize Reference-Free Cell Mixture Projection by SVD
1 |
Y |
Matrix (m CpGs x n Subjects) of DNA methylation beta values |
type |
See details |
This method initializes the reference-free cell mixture deconvolution using an ad-hoc method based on singular value decomposition. Type=1 will attempt to discretize Mu to 0/1, Type=2 will attempt to find a continuous range using column ranks. However, neither of these strategies is guaranteed to result in stable starting values for K larger than the "true" value of K.
Matrix of starting values for Mu.
E. Andres Houseman
RefFreeCellMix
,
RefFreeCellMixArrayWithCustomStart
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | data(HNSCC)
Y.shortTest <- Y.HNSCC.averageBetas[1:500,]
mu.start.svd <- RefFreeCellMixInitializeBySVD(Y.shortTest)
testArray2 <- RefFreeCellMixArrayWithCustomStart(Y.shortTest, mu.start=mu.start.svd,
Klist=1:3,iters=5)
sapply(testArray2,deviance,Y=Y.shortTest)
## Not run:
testBootDevs <- RefFreeCellMixArrayBySVDDevianceBoots(testArray2,Y.shortTest,R=10)
testBootDevs
apply(testBootDevs[-1,],2,mean,trim=0.25)
which.min(apply(testBootDevs[-1,],2,mean,trim=0.25))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.