| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Bioinformatics Toolbox |
| Contents | Index |
| Learn more about Bioinformatics Toolbox |
ReturnRowNames =
rownames(DMObj)
ReturnRowNames =
rownames(DMObj, RowIndices)
DMObjNew =
rownames(DMObj, RowIndices, RowNames)
| DMObj | DataMatrix object, such as created by DataMatrix (object constructor). |
| RowIndices | One or more rows in DMObj, specified by any of the following:
|
| RowNames | Row names specified by any of the following:
|
| ReturnRowNames | String or cell array of strings containing row names in DMObj. |
| DMObjNew | DataMatrix object created with names specified by RowIndices and RowNames. |
ReturnRowNames = rownames(DMObj) returns ReturnRowNames, a cell array of strings specifying the row names in DMObj, a DataMatrix object.
ReturnRowNames = rownames(DMObj, RowIndices) returns the row names specified by RowIndices. RowIndices can be a positive integer, vector of positive integers, string specifying a row name, cell array of strings, or a logical vector.
DMObjNew = rownames(DMObj, RowIndices, RowNames) returns DMObjNew, a DataMatrix object with rows specified by RowIndices set to the names specified by RowNames. The number of elements in RowIndices must equal the number of elements in RowNames.
Bioinformatics Toolbox function: DataMatrix (object constructor)
Bioinformatics Toolbox object: DataMatrix object
Bioinformatics Toolbox method of a DataMatrix object: colnames
![]() | rnaplot | samplealign | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |