magetfield

Extract data from microarray structure

Syntax

magetfield(MAStruct, FieldName)

Arguments

MAStructMicroarray structure.
FieldNameA column in MAStruct.

Description

magetfield(MAStruct, FieldName) extracts data for FieldName, a column in MAStruct, microarray structure.

The benefit of this function is to hide the details of extracting a column of data from a structure created with one of the microarray reader functions (gprread, agferead, sptread, imageneread).

Examples

maStruct = gprread('mouse_a1wt.gpr');
cy5data = magetfield(maStruct,'F635 Median');
cy3data = magetfield(maStruct,'F532 Median');
mairplot(cy5data,cy3data,'title','R vs G IR plot');
Was this topic helpful?