Learn R Programming

FossilSim (version 2.4.1)

get_fbdrange_from_file: Import fbdrange object from file

Description

Import fbdrange object from file

Usage

get_fbdrange_from_file(input_file)

Value

an fbdrange object

Arguments

input_file

path to a tree file in Nexus format containing range and orientation metadata for the trees (for instance, a file generated by the BEAST2 package sRanges)

Examples

Run this code
tree_file <- system.file("extdata", "fbdrange.trees", package = "FossilSim")
fbdr <- get_fbdrange_from_file(tree_file)

Run the code above in your browser using DataLab