Description Usage Arguments Details Value Author(s) Examples
View source: R/mergeTallyFiles.r
Function to merge multiple tally files by genomic position (i.e. gluing samples together)
1 | mergeTallyFiles( inputFiles, destFile, destGroup, blockSize = 1e6, sampleDims = c(), positionDims = c() )
|
inputFiles |
A list mapping input file names to the groups within them from which the data shall be taken (e.g. "example.tally.hfs5" -> "/ExampleStudy/16") |
destFile |
Name of the file that should be created |
destGroup |
Group within |
blockSize |
Size of the blocks in bases that the merging will be performed in |
sampleDims |
List mapping dataset names to their respective sample dimension, e.g. "Counts" -> 2 - has the standard datasets included by default |
positionDims |
List mapping dataset names to their respective position dimension, e.g. "Counts" -> 4 - has the standard datasets included by default |
This function merges tally data from a list of tally files into a new destination file.
[None] – prints progress messages along the way.
Paul Pyl
1 2 3 4 5 6 7 8 9 10 | ## Not run:
mergeTallyFiles{ # merging a file to itself, i.e. "doubling" it
list(
"example.tally.hfs5" = "/ExampleStudy/16",
"example.tally.hfs5" = "/ExampleStudy/16"
),
"test.merge.hfs5",
"/MergedStudy/16"}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.