Learn R Programming

LOLA (version 1.2.2)

splitFileIntoCollection: This function will take a single large bed file that is annotated with a column grouping different sets of similar regions, and split it into separate files for use with the LOLA collection format.

Description

This function will take a single large bed file that is annotated with a column grouping different sets of similar regions, and split it into separate files for use with the LOLA collection format.

Usage

splitFileIntoCollection(filename, splitCol)

Arguments

filename
the file to split
splitCol
factor column that groups the lines in the file by set

Value

No return value.

Examples

Run this code
combFile = system.file("extdata", "examples/combined_regions.bed", package="LOLA")
splitFileIntoCollection(combFile, 4)

Run the code above in your browser using DataLab