View source: R/dimarConstructReferenceData.R
dimarConstructReferenceData | R Documentation |
Constructs reference dataset: Take data with least #MVs, enlarge data by proteins with least #MVs and normalize to all proteins
dimarConstructReferenceData(mtx, cut = 0.2)
mtx |
Quantitative matrix |
cut |
minimum number of proteins kept for the reference data |
Reference dataset
mtx <- matrix(rnorm(1000),nrow=100)
mtx[sample(c(1:1000),100)] <- NA
coef <- dimarLearnPattern(mtx)
ref <- dimarConstructReferenceData(mtx)
sim <- dimarAssignPattern(ref, coef, mtx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.