defGR: Helper to construct GRanges with additional metadata columns.

Description Usage Arguments Value

View source: R/helpers_general.R

Description

Helper to construct GRanges with additional metadata columns.

Usage

1
2
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


amplican documentation built on Nov. 8, 2020, 11:10 p.m.