Description Usage Arguments Details Value Examples
Count number of points per gene
1 | count_per_gene(pos, chr, gene_start, gene_end, gene_chr)
|
pos |
positions |
chr |
chromosome numbers of positions |
gene_start |
left endpoints of gene intervals |
gene_end |
right endpoints of gene intervals |
gene_chr |
chromosome numbers of gene intervals |
If 'pos', 'gene_start', or 'gene_end' are not of type "integer", they
are internally converted via as.integer
.
An integer vector of the same length as 'gene_start' containing the number of points falling into each of the gene intervals.
1 | stopifnot(count_per_gene(0, 0, 0, 0, 0) == 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.