coverageByTranscriptW {ORFik} | R Documentation

## coverageByTranscript with weights

### Description

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

### Usage

    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

[Package ORFik version 1.10.13 Index]