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.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
유럽
아시아 태평양
지역별 지사에 문의