View source: R/class_haplotype_graph.R
buildHaplotypeGraph | R Documentation |
Creates a HaplotypeGraph
object to be used to build and store
an rJava
reference object pointing to a HaplotypeGraph
object
from the PHG API.
buildHaplotypeGraph(
phgMethodObj,
chrom = NULL,
includeSequence = FALSE,
includeVariants = FALSE
)
phgMethodObj |
A |
chrom |
A vector of chromosomes to include in graph. If NULL, defaults
to all. To specify multiple chromosome, pass as a vector of strings (i.e.
|
includeSequence |
Whether to include sequences in haplotype nodes. Is currently only used for haplotypes. NOTE: this will greatly increase memory consumption! |
includeVariants |
Whether to include variant contexts in haplotype nodes. Is currently only used for haplotypes. NOTE: this will greatly increase memory consumption! |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.