get_variants: Getting variants called by haplotype caller in tapestri...

View source: R/get.R

get_variantsR Documentation

Getting variants called by haplotype caller in tapestri pipeline

Description

get_variant retrieves all the dna variants in an .h5 file as a data.table or GRanges

Usage

get_variants(h5f, format = c("data.table", "GRanges"))

Arguments

h5f

h5f

format

data.table by default.

Examples

path <- "path/to/.h5"
h5f <- read_h5f(path)
feature_data <- get_variants(h5f)

northNomad/tapestri.tools documentation built on May 31, 2024, 4:44 p.m.