Main Content

combine

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

Combine two MIAME objects

Syntax

NewMIAMEObj = combine(MIAMEObj1, MIAMEObj2)

Description

NewMIAMEObj = combine(MIAMEObj1, MIAMEObj2) combines data from two MIAME objects and returns a new MIAME object. The combine method concatenates the properties of the two objects together.

Input Arguments

MIAMEObj#

Object of the bioma.data.MIAME class.

Examples

Construct two MIAME objects, and then combine them:

% Create a MATLAB structure containing GEO Series data
geoStruct1 = getgeodata('GSE4616');
% Create a second MATLAB structure containing GEO Series data
geoStruct2 = getgeodata('GSE11287');
% Import the bioma.data namespace to make constructor function
% available
import bioma.data.*
% Construct MIAME object from the first structure
MIAMEObj1 = MIAME(geoStruct1);
% Construct MIAME object from the second structure
MIAMEObj2 = MIAME(geoStruct2);
% Combine the two MIAME objects
newMIAMEObj = combine(MIAMEObj1, MIAMEObj2)