| 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 |
RNAStruct2 = rnaconvert(RNAStruct)
| RNAStruct | Secondary structure of an RNA sequence represented by either:
|
| RNAStruct2 | Secondary structure of an RNA sequence represented by either:
|
RNAStruct2 = rnaconvert(RNAStruct) returns RNAStruct2, the secondary structure of an RNA sequence, in matrix notation (if RNAStruct is in bracket notation), or in bracket notation (if RNAStruct is in matrix notation).
Converting from Bracket to Matrix Notation
Create a string representing a secondary structure of an RNA sequence in bracket notation.
Bracket = '(((..((((.......)))).((.....)).))).';
Convert the secondary structure to a connectivity matrix representation.
Matrix = rnaconvert(Bracket);
Converting from Matrix to Bracket Notation
Create a connectivity matrix representing a secondary structure of an RNA sequence.
Matrix2 = zeros(12);
Matrix2(1,12) = 1;
Matrix2(2,11) = 1;
Matrix2(3,10) = 1;
Matrix2(4,9) = 1;Convert the secondary structure to bracket notation.
Bracket2 = rnaconvert(Matrix2) Bracket2 = ((((....))))
Bioinformatics Toolbox functions: rnafold, rnaplot
![]() | rna2dna | rnafold | ![]() |

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 |