Main Content

varValuesTable

Create 2-D graphic table GUI of variable values in MetaData object

Syntax

Handle = varValuesTable(MDObj)
Handle = varValuesTable(MDObj, ParentHandle)

Description

Handle = varValuesTable(MDObj) creates a 2-D graphic table containing variable data from a MetaData object and returns a uitable handle to the table.

Handle = varValuesTable(MDObj, ParentHandle) specifies the parent handle to the table. The parent can be a figure or uipanel handle.

Input Arguments

MDObj

Object of the bioma.data.MetaData class.

ParentHandle

Figure or uipanel handle to be the parent handle to the table.

Examples

Construct a MetaData object, and then create a 2-D table of the variable values from it:

% Import the bioma.data namespace to make constructor function
% available
import bioma.data.*
% Construct MetaData object from .txt file
MDObj2 = MetaData('File', 'mouseSampleData.txt', 'VarDescChar', '#');
% Retrieve the sample variable values in a table
handle = varValuesTable(MDObj2)