mergeTallyFiles {h5vc} | R Documentation |
Function to merge multiple tally files by genomic position (i.e. gluing samples together)
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
## 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)