Description Usage Arguments Details Author(s) Examples
View source: R/standardize_sites.R
Given a GRanges object ...
1 2 3 | standardize_sites(input.sites)
standardize_sites(input.sites, counts.col = "counts", min.gap = 1L, sata.gap = 5L)
|
input.sites |
GRanges object of sites to standardize. |
counts.col |
character string. Name of column holding range count information (ie. read counts). If not supplied, assume count of 1 for each row in sites. |
min.gap |
integer minimum gap to consider combine sites. |
sata.gap |
integer maximum distance to consider combining sites. |
details |
logical If TRUE, data columns will be appended to the metadata of the GRanges object noting the original and adjusted position for the site. FALSE by default. |
quiet |
logical during processing, should messages be suppressed which report findings? TRUE by default. |
standardize_sites
returns a GRanges object where the site positions
have been standardized with sites within the gap distance.
Christopher Nobles, Ph.D.
1 2 3 | gr <- gintools:::generate_test_granges()
standardize_sites(gr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.