Description Usage Arguments Value Examples
View source: R/splitFileIntoCollection.R
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.
1 2 3 4 5 6 | splitFileIntoCollection(
filename,
splitCol,
collectionFolder = NULL,
filenamePrepend = ""
)
|
filename |
the file to split |
splitCol |
factor column that groups the lines in the file by set. It should be an integer. |
collectionFolder |
name of folder to place the new split files. |
filenamePrepend |
string to prepend to the filenames. Defaults to blank. |
No return value.
1 2 | combFile = system.file("extdata", "examples/combined_regions.bed", package="LOLA")
splitFileIntoCollection(combFile, 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.