random_bed | R Documentation |
Compute a random set of TAD border coordinates from a sample partition
random_bed(bed, bad_columns = NULL)
'bed' |
a 'data.frame' with a BED-like format with 3 columns: chromosome, start and end coordinates of each TAD, in bins. |
'bad_columns' |
a numeric 'vector' with the positions of the bad columns. TAD borders will not be placed on bad columns. Default value of 'NULL' means no bad columns will be introduced. |
control <- read.table(system.file("extdata", "control.bed", package = "TADpole")) random_coords <- random_bed(control)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.