transformFold | R Documentation |
Given a coordinate file, a point, and an angle in radians transformFold rotates the fold around the given point the given number of radians.
transformFold(dat, x0, y0, ang)
dat |
Coordinate file containing multiple RNA folds |
x0 |
x coordinate of center of rotation |
y0 |
y coordinate of center of rotation |
ang |
angle of rotation in radians |
dat frame containing the rotated coordinates
JP Bida
alignCoord
ct=makeCt("((((...(((((((.........)))))))...((((.........))))...))))",
"AAAAAAAACCCCCCCCAAAGGGGGGGAUUACCCCUCCUUUAAAAGGGUUUUCCCCCCC")
c1=ct2coord(ct)
RNAPlot(c1)
c2=transformFold(c1,0,0,pi/2)
c3=transformFold(c2,0,0,pi/2)
c4=transformFold(c3,0,0,pi/2)
RNAPlot(c2,add=TRUE)
RNAPlot(c3,add=TRUE)
RNAPlot(c4,add=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.