Average read-count time-series of a genomic interval (segment). Note that the diverse attempts to smooth or filter read-counts before taking the averages did not give good results, and we remained using avg="mean" and no other transformations.

1 2 | ```
segmentAverage(rds, avg = "mean", mean.ratio = FALSE, rm.extreme = FALSE,
endcut = 0, k = 1, endrule = "median")
``` |

`rds` |
matrix of read-count time-series |

`avg` |
function to use as average statistics, |

`mean.ratio` |
calculate the mean ratio over time of each read-count time-series before taking the total average |

`rm.extreme` |
remove extreme value reads,
i.e., where the temporal mean is |

`endcut` |
fraction of the ends the genomic interval to remove before taking the total average |

`k` |
parameter |

`endrule` |
parameter |

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.