getMethodsInputObjectEsetVis {esetVis} | R Documentation

## wrapper to extract useful functions, depending if the object is an ExpressionSet or a SummarizedExperiment.

### Description

This returns an error is `x` is not of the correct class. The package `SummarizedExperiment` should be available if `x` is of class `SummarizedExperiment`.

### Usage

    getMethodsInputObjectEsetVis(x)

### Arguments

`x` | object

### Value

if the object is an ExpressionSet or a SummarizedExperiment, returns a list with the functions specific of the class of `x`, and equivalent of the ExpressionSet functions: 'sampleNames', 'featureNames', 'fData', 'pData', 'exprs'

- sampleNames: sample names

- featureNames: feature names

- fData: feature annotation

- pData: sample annotation

- exprs: data matrix

- varLabels: sample annotation variables

- fvarLabels: feature annotation variables

### Author(s)

Laure Cougnaud

[Package esetVis version 1.6.3 Index]