Description Usage Arguments Value
Get weights from a subject GenomicRanges object
1 | getWeights(subject, weight = 1L)
|
subject |
a GRanges, IRanges or GAlignment object |
weight |
a vector (default: 1L, if 1L it is identical to countOverlaps()), if single number (!= 1), it applies for all, if more than one must be equal size of 'reads'. else it must be the string name of a defined meta column in subject "reads", that gives number of times a read was found. GRanges("chr1", 1, "+", score = 5), would mean "score" column tells that this alignment region was found 5 times. |
a numeric vector of weights of equal size to subject
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.