getMIAMEMetadata {Risa} | R Documentation

## Retrieves the MIAME information about a microarray experiment

### Description

If the assay.filename uses the microarray technology, it retrieves an object of the class `MIAME` with the minimum information about the experiment. Otherwise, it outputs a message indicating that the method is not valid for assays not using the microarray technology.

### Usage

    getMIAMEMetadata(isa, assay.filename)

### Arguments

`isa` | An object of the `ISAtab-class`.
`assay.filename` | A string indicating the name of an assay file. It must correspond to a microarray-based assay for the function to return a valid value.

### Value

It retrieves an object from the `MIAME` class or an error message.

### Author(s)

Alejandra Gonzalez-Beltran

### See Also

`isMicroarrayAssay`

### Examples

     armstrongISAzip <- system.file("extdata","ARMSTRONG-S-3-metadata.zip", package="Risa")
     armstrongISA <- readISAtab(zipfile = armstrongISAzip, path = file.path(system.file("extdata", package="Risa"),"armstrongISA"), verbose =TRUE)
     assay.filename <- armstrongISA@assay.filenames[[1]]
     miame <- getMIAMEMetadata(armstrongISA, assay.filename)
     str(miame)

[Package Risa version 1.36.0 Index]