Description Usage Arguments Value Author(s) Examples

This function generates a small dummy dataset representing samples from two different groups (cases and controls) that is used in bumphunter examples.

1 2 |

`n1` |
Number of samples in group 1 (controls) |

`n2` |
Number of samples in group 2 (cases) |

`sd` |
Within group standard deviation to be used when simulating data |

`l` |
The number of genomic locations for which to simulate data |

`spacing` |
The average spacing between locations. The actual locations have a random component so the actual spacing will be non-uniform |

`clusterSpacing` |
The spacing between clusters. (Specifically, the spacing between the first location in each cluster.) |

`numClusters` |
Divide the genomic locations into this number of
clusters, each of which will contain locations spaced |

A list containing data that can be used with various bumphunter functions.

`mat` |
A simulated data matrix with rows representing genomic locations and columns representing samples. |

`design` |
Design matrix with rows representing samples and columns representing covariates. |

`chr` |
A character vector with the chromosomes of each location. |

`pos` |
A numeric vector representing the chromosomal position. |

`cluster` |
A vector representing the cluster of each locations |

`n1` |
Number of samples in cluster 1 |

`n2` |
Number of samples in cluster 2 |

Martin J. Aryee

1 2 3 |

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.