defGR: Helper to construct GRanges with additional metadata columns.

View source: R/helpers_general.R

defGRR 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


valenlab/amplican documentation built on Jan. 28, 2024, 5:10 a.m.