Description Usage Arguments Details Examples
View source: R/somatic_features.R
Determines the density of genomic features surrounding breakpoints
1 | featureDensity(query, feature, feature.name, padding, average)
|
query |
A GRanges object containing breakpoint 1 with a GRanges for breakpoint 2 in a metadata column caled linked.to |
feature |
A GRanges object containing the features to compute the density from |
feature.name |
A character vector of length 1 indicating the name of the feature being evaluated. This value is only used to create the output table. |
padding |
A character vector containing the padding to be added to the positions in subject. Breakpoints in subject that overlap a breakpoint for an element in query +/- padding will be counted as an overlap for that element of query. Example values are "100bp", "1kb", 5mb", etc., where internally kb is coerced to '000' and mb is coerced to '000000'. |
average |
A logical (TRUE/FALSE) indicating whether or not to return the average value as well as the value for each individual breakpoint. |
Computes the fraction of basepairs within query +/- padding that are within feature
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.