coverageByTranscriptW: coverageByTranscript with weights

Description Usage Arguments Value

Description

Extends the function with weights, see coverageByTranscript for original function.

Usage

1
coverageByTranscriptW(x, transcripts, ignore.strand = FALSE, weight = 1L)

Arguments

x

reads (GRanges, GAlignments)

transcripts

GRangesList

ignore.strand

a logical (default: FALSE)

weight

a vector (default: 1L), if single number applies for all, else it must be the string name of a defined meta column in "x", that gives number of times a read was found. GRanges("chr1", 1, "+", score = 5), would mean score column tells that this alignment was found 5 times.

Value

Integer Rle of coverage, 1 per transcript


ORFik documentation built on March 27, 2021, 6 p.m.