getMIAMEMetadata: Retrieves the MIAME information about a microarray experiment

Description Usage Arguments Value Author(s) See Also Examples

View source: R/Risa-microarray.R

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

1
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

1
2
3
4
5
 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)

Risa documentation built on Nov. 8, 2020, 5:35 p.m.