random_bed: Compute a random set of TAD border coordinates from a sample...

Description Usage Arguments Examples

View source: R/DiffT.R

Description

Compute a random set of TAD border coordinates from a sample partition

Usage

1
random_bed(bed, bad_columns = NULL)

Arguments

'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.

Examples

1
2
control <- read.table(system.file("extdata", "control.bed", package = "TADpole"))
random_coords <- random_bed(control)

3DGenomes/TADpole documentation built on Jan. 30, 2020, 8:17 p.m.