Main Content

isempty

Class: bioma.data.MIAME
Namespace: bioma.data

Determine whether MIAME object is empty

Syntax

TF = isempty(MIAMEObj)

Description

TF = isempty(MIAMEObj) returns logical 1 (true) if MIAMEObj is an empty MIAME object. Otherwise, it returns logical 0 (false). All properties are empty in an empty MIAME object.

Input Arguments

MIAMEObj

Object of the bioma.data.MIAME class.

Examples

Construct a MIAME object, and then check to see if it is empty:

% Create a MATLAB structure containing GEO Series data
geoStruct = getgeodata('GSE4616');
% Import the bioma.data namespace to make constructor function
% available
import bioma.data.*
% Construct MIAME object
MIAMEObj = MIAME(geoStruct);
% Determine if MIAME object is empty
isempty(MIAMEObj)