estimate_abundance: Estimate abundance

Description Usage Arguments Value

View source: R/transcript_archetypes.R

Description

Estimates abundance for transcript archetypes

Given a set of transcripts constructs query regions and removes transcripts whose query regions go out of bounds

Usage

1
2
3
estimate_abundance(x, err_func, mask = c(0, 0), flank)

construct_query_regions(transcripts, bigwig_plus, bigwig_minus, flank = 5000)

Arguments

x

A vector of counts

err_func

error function (currently only identity supported)

mask

a two element vector indicating the numbers of bases to skip at the head and tail of the transcripts (respectively)

flank

length of flanking regions present in the count vector

transcripts

A GRanges-class object

bigwig_plus

polymerase density signal from the plus strand

bigwig_minus

polymerase density signal from the minus strand

Value

A single abundance estimation

A single abundance estimation


CshlSiepelLab/nascentRNASim documentation built on Dec. 17, 2021, 3:08 p.m.