Description Usage Arguments Value Examples
Count features per chromosome
1 | chrFreqs(gr, chrs)
|
gr |
A GenomicRanges object. |
chrs |
A character vector of chromosome names. |
A named character vector indicating the number of feature counts per chromosome in a GenomicRanges object. This is done by running GRanges' seqnames() function, converting the output to a table, and converting the table to a named character vector, according to the names passed to the function. This is useful to create a matrix or a data frame from a list of genomic ranges.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.