checkLevels | R Documentation |
filter data matrix by factor completeness only works for discrete factors
checkLevels(betas, fc)
betas |
matrix data |
fc |
factors, or characters |
a boolean vector whether there is non-NA value for each tested group for each probe
se0 <- sesameDataGet("MM285.10.SE.tissue")[1:100,]
se_ok <- checkLevels(SummarizedExperiment::assay(se0),
SummarizedExperiment::colData(se0)$tissue)
sum(se_ok) # number of good probes
se1 <- se0[se_ok,]
sesameDataGet_resetEnv()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.