checkLevels {sesame} | R Documentation

## filter data matrix by factor completeness only works for discrete factors

### Description

filter data matrix by factor completeness only works for discrete factors

### Usage

    checkLevels(betas, fc)

### Arguments

`betas` | matrix data
`fc` | factors, or characters

### Value

a boolean vector whether there is non-NA value for each tested group for each probe

### Examples

    se0 = sesameDataGet("MM285.10.tissues")[1:1000,]
    se_ok = checkLevels(SummarizedExperiment::assay(se0),
        SummarizedExperiment::colData(se0)$tissue)
    sum(se_ok) # number of good probes
    se1 = se0[se_ok,]

[Package sesame version 1.12.9 Index]