Description Usage Arguments Value See Also Examples
This function takes per-feature genomic data and returns averages for each of a set of genomic ranges. The most obvious application is determining the copy number of a set of genes. The features corresponding to each gene are determined with boundingIndices such that all features with the bounds of a gene (overlaps). The features on either side of the gene unless those positions exactly match the first or last base covered by the gene. Therefore, genes falling between two features will at least cover two features. Range bounding is performed by the boundingIndices function.
1 | rangeSampleMeans(query, subject, assay.element, na.rm = FALSE)
|
query |
GRanges object representing genomic regions (genes) to be averaged. |
subject |
A GenoSet object or derivative |
assay.element |
character, name of element in assayData to use to extract data |
na.rm |
scalar logical, ignore NAs? |
numeric matrix of features in each range averaged by sample
Other 'range summaries': boundingIndicesByChr
,
boundingIndices
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.