getEventInfo: This function takes alignments and gives back the events...

View source: R/helpers_general.R

getEventInfoR Documentation

This function takes alignments and gives back the events coordinates.

Description

This function takes alignments and gives back the events coordinates.

Usage

getEventInfo(align, ID, ampl_shift, strand_info = "+")

Arguments

align

(PairwiseAlignmentsSingleSubject)

ID

(string)

ampl_shift

(numeric vector) Shift events additionally by this value. PairwiseAlignmentsSingleSubject returns truncated alignments.

strand_info

(string) Either '+', '-' or default '*'

ampl_len

(numeric) Length of the amplicon (subject)

Value

(GRanges) Object with meta-data for insertion, deletion, mismatch


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