Description Usage Arguments Value Examples
This function obtains peaks in the density for the given set of relative copy numbers.
1 2 3 4 5 6 | copy_number_maxima(
copy_numbers,
min_copy_number = 0,
max_copy_number = 3,
lower_threshold = 0
)
|
copy_numbers |
a numeric vector of absolute copy number values. |
min_copy_number |
the lower copy number value in the range of values to estimate the density. |
max_copy_number |
the upper copy number value in the range of values to estimate the density. |
lower_threshold |
the lower threshold for a maximum as a fraction of the density of the largest maximum. |
a data frame with copy number and density columns and a row for each maximum in the distribution.
1 2 3 | data(copy_number)
copy_number <- copy_number[copy_number$sample == "X17222", ]
maxima <- copy_number_maxima(copy_number$segmented, lower_threshold = 0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.