Description Usage Arguments Examples
View source: R/somatic_features.R
Grabs a value for an interval that overlaps each breakpoint
1 | featureValue(query, feature, feature.name, column.name, 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 feature of interest. |
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. |
column.name |
A character vector of length 1 specifying the name of the column in feature for which to grab a value from. |
average |
A logical (TRUE/FALSE) indicating whether or not to return the average value as well as the value for each individual breakpoint. |
1 2 3 4 5 6 7 8 | Example 1: Determining the replication timing score for each breakpoint
data(test_sv)
data(rep_timing)
featureValue(query = test_sv,
feature = rep_timing,
feature.name = 'repliscore',
column.name = score,
average = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.