filterExperimentByVariables {midasHLA} | R Documentation

## Filter experiment by variable

### Description

Helper function for experiments filtering

### Usage

    filterExperimentByVariables(experiment, variables)

    ## S3 method for class 'matrix'
    filterExperimentByVariables(experiment, variables)

    ## S3 method for class 'SummarizedExperiment'
    filterExperimentByVariables(experiment, variables)

### Arguments

`experiment` | Matrix or SummarizedExperiment object.
`variables` | Character vector specifying features to choose.

### Value

Filtered `experiment` object.

[Package midasHLA version 1.2.0 Index]