Description Usage Arguments Value Author(s) See Also Examples
Given a coordinate file, a point, and an angle in radians transformFold rotates the fold around the given point the given number of radians.
1 | 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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 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.