Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

isempty

Class: bioma.data.ExptData
Package: 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 bioma.data package 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)
Was this topic helpful?