Main Content

isempty

Class: bioma.data.ExptData
Namespace: bioma.data

Determine whether ExptData object is empty

Syntax

TF = isempty(EDObj)

Description

TF = isempty(EDObj) returns logical 1 (true) if EDObj is an empty ExptData object. Otherwise, it returns logical 0 (false). An empty ExptData object contains no data elements.

Input Arguments

EDObj

Object of the bioma.data.ExptData class.

Examples

Construct an ExptData object, and then check to see if it is empty:

% Import the bioma.data namespace to make constructor functions
% available
import bioma.data.*
% Create DataMatrix object from .txt file containing 
% expression values from microarray experiment
dmObj = DataMatrix('File', 'mouseExprsData.txt');
% Construct ExptData object
EDObj = ExptData(dmObj);
% Determine if ExptData object is empty
isempty(EDObj)