XNAStringFromHelm {XNAString} | R Documentation

## Create XNAString object from HELM - user interface

### Description

Create XNAString object from HELM - user interface

### Usage

    XNAStringFromHelm(
      helm,
      name = NA_character_,
      dictionary = xna_dictionary,
      compl_dictionary = complementary_bases,
      remove_linker = TRUE
    )

### Arguments

`helm` | string (or strings vector) with HELM sequence, which contains one RNA polymer and optionally CHEM element
`name` | character (or character vector)
`dictionary` | data.table with following columns: "HELM", "type", "symbol". By default internal XNAString dictionary is used.
`compl_dictionary` | data.table with following columns: "base", "target". By default internal XNAString dictionary is used
`remove_linker` | logical defines if linker should be clipped from RNA

### Value

XNAString object if single helm, XNAStringSet object otherwise

### Author(s)

Marianna Plucinska

### Examples

    XNAStringFromHelm("RNA1{[dR](A)P.[dR](A)P.[dR](A)}$$$$V2.0")
    XNAStringFromHelm("RNA1{[dR](A)P.[dR](A)P.[dR](A)}$$$$V2.0", 'name')
    XNAStringFromHelm(c("RNA1{[dR](A)P.[dR](A)P.[dR](A)}$$$$V2.0",
                        "RNA1{[dR](T)P.[dR](T)P.[dR](A)}$$$$V2.0"),
                      c('name1', 'name2'))

[Package XNAString version 1.2.2 Index]