defGR {amplican} | R Documentation

## Helper to construct GRanges with additional metadata columns.

### Description

Helper to construct GRanges with additional metadata columns.

### Usage

    defGR(x, ID, score, strand_info = "+", type = "deletion",
      originally = "", replacement = "")

### Arguments

`x` | (`IRanges`) names(x) indicating read_id
`ID` | (string)
`score` | (numeric) scores from the alignments
`strand_info` | (string) Either '+', '-'
`type` | (string)
`originally` | (string) Base pairs on the amplicon.
`replacement` | (string) Base pairs on the read.

### Value

(`GRanges`) Object with meta-data

[Package amplican version 1.12.0 Index]