pseudoKnot | R Documentation |
internal function used to remove pseudoKnots before calling ct2coord
pseudoKnot(ctDat)
ctDat |
R data frame representing a CT file for RNA secondary structure |
Returns a list with the first item being a list of pseudoKnots and the second item being a CT file data frame with all pseudoKnots removed from the structure
JP Bida
RNAPlot
,
aptPlotCT
,
ct2coord
,
pk=makeCt("((((...(((((((.........)))))))...((((.........))))...))))",
"AAAAAAAACCCCCCCCAAAGGGGGGGAUUACCCCUCCUUUAAAAGGGUUUUCCCCCCC")
pk$bound[pk$pos==20]=42
pk$bound[pk$pos==19]=43
pk$bound[pk$pos==43]=19
pk$bound[pk$pos==42]=20
l=pseudoKnot(pk)
## Positions of removed pseudo knots ##
removed=l[[1]]
### clean ct file that can be used by ct2coord ###
ct=l[[2]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.