MATLAB ヘルプ センター
Combine two objects
combinedData = combine(data1,data2)
newObj = combine(data1,data2,'Name',objName)
combinedData = combine(data1,data2) combines sequence data from two objects of the same class (BioRead or BioMap) and returns the data combinedData in a new object. The combine function concatenates the properties of the two objects.
data1
data2
BioRead
BioMap
combinedData
combine
example
newObj = combine(data1,data2,'Name',objName) specifies the name objName for newObj.
newObj
objName
collapse all
Load the first data set.
br1 = BioRead('ex1.sam')
br1 = BioRead with properties: Quality: [1501x1 File indexed property] Sequence: [1501x1 File indexed property] Header: [1501x1 File indexed property] NSeqs: 1501 Name: ''
Load the second data set.
br2 = BioRead('ex2.sam')
br2 = BioRead with properties: Quality: [3307x1 File indexed property] Sequence: [3307x1 File indexed property] Header: [3307x1 File indexed property] NSeqs: 3307 Name: ''
Combine the two data sets. Set the name of the new object to 'combinedData'.
'combinedData'
br3 = combine(br1,br2,'Name','combinedData')
br3 = BioRead with properties: Quality: {4808×1 cell} Sequence: {4808×1 cell} Header: {4808×1 cell} NSeqs: 4808 Name: 'combinedData'
First sequence read data to be combined with the second sequence read data, specified as a BioRead or BioMap object.
Second sequence read data to be combined with the first sequence read data, specified as a BioRead or BioMap object.
''
Name of the combined object, specified as a character vector or string.
Introduced in R2010a
BioMap | BioRead
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
ヨーロッパ
アジア太平洋地域
最寄りの営業オフィスへのお問い合わせ