xnastringElementsNumber {XNAString} | R Documentation

## Function which checks if XNAString object satisfies predefined slots length

### Description

Function which checks if XNAString object satisfies predefined slots length

### Usage

    xnastringElementsNumber(
      xnastring_obj,
      cond_name = "==1",
      cond_base,
      cond_sugar,
      cond_backbone,
      cond_target = ">0",
      cond_conj5 = "==1",
      cond_conj3 = "==1"
    )

### Arguments

`xnastring_obj` | XNAString object
`cond_name` | allowed name elements in object
`cond_base` | allowed base elements in object
`cond_sugar` | allowed sugar elements in object
`cond_backbone` | allowed backbone elements in object
`cond_target` | allowed target elements in object
`cond_conj5` | allowed conj5 elements in object
`cond_conj3` | allowed conj3 elements in object

### Value

logical

### Examples

    obj <- XNAString(
      base = c("EAA", "AAA"),
      sugar = c("FFO", "OOO"),
      name = c("a"),
      conjugate5 = c("TTT")
    )
    xnastringElementsNumber(obj,
      cond_name = "==1",
      cond_base = "%in% c(1,2)",
      cond_sugar = "%in% c(1,2)",
      cond_backbone = "%in% c(1,2)",
      cond_target = ">0",
      cond_conj5 = "==1",
      cond_conj = "==1"
    )

[Package XNAString version 1.2.2 Index]