simulate | R Documentation |
Given RNA sequences, this function simulates reactivity accounting for multiple structural conformations and dependencies between adjacent nucleotide positions.
simulate(
seq,
dir_ViennaRNA,
types,
ncores = "auto",
plot_cor = FALSE,
clear = TRUE
)
seq |
List of RNA sequences. |
dir_ViennaRNA |
Directory of ViennaRNA software. See Details. |
types |
Vector of reactivity types ('icSHAPE', 'Cordero' and 'Sokusd' supported). |
ncores |
Number of cores for parallel computation. Automatically determined by default. |
plot_cor |
Logical value indicating whether to plot within/between group correlations. |
clear |
Logical value indicating whether to clear intermediate files. |
Users need to have ViennaRNA software installed to simulate structural conformations from sequences.
A list containing the following components:
r |
Simulated reactivity. |
stru |
A list of simulated structural conformations. |
truth |
A list of vectors indicating positions of structurally variable regions. |
w |
Weights of dominant conformations. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.