library(h5vc)
tallyFile <- system.file( "extdata", "example.tally.hfs5", package = "h5vcData" )
sampleData <- getSampleData( tallyFile, "/ExampleStudy/16" )
afs <- h5dapply(
filename = tallyFile,
group = "/ExampleStudy/16",
names = c("Counts", "Coverages"),
range = c(29e6, 29.05e6),
blocksize = 1e4,
FUN = binnedAFs,
sampledata = sampleData
)
afs[[3]]
Run the code above in your browser using DataLab