Learn R Programming

methylPipe (version 1.6.2)

splitChrs: Partitioning genome in chunks, for parallel computation

Description

Helper function to partition genome chromosome-wise for parallel computation. This function is not intended for the user to call directly.

Usage

splitChrs(chrs, org)

Arguments

chrs
character; an aray of chromome names in the form chr1, .., chrX
org
an object of class BSgenome

Value

  • A data frame with chromosome name, start and end position of each chunk.