Description Usage Arguments Value See Also

Given a matrix of first/last indices, like from boundingIndicesByChr, and values for each range, convert to a Rle. This function takes the expected length of the Rle, n, so that any portion of the full length not covered by a first/last range will be a run with the value NA. This is typical in the case where data is segmented with CBS and some of the data to be segmented is NA.

1 | ```
bounds2Rle(bounds, values, n)
``` |

`bounds` |
matrix, two columns, with first and last index, like from boundingIndicesByChr |

`values` |
ANY, some value to be associated with each range, like segmented copy number. |

`n` |
integer, the expected length of the Rle, i.e. the number of features in the genome/target ranges processed by boundingIndicesByChr. |

Rle

Other "segmented data": `rangeSegMeanLength`

,
`runCBS`

, `segPairTable`

,
`segTable`

, `segs2Granges`

,
`segs2RleDataFrame`

, `segs2Rle`

genoset documentation built on Nov. 17, 2017, 9:22 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.