View source: R/gt_as_genlight.R
gt_as_genlight | R Documentation |
gen_tibble
to a genlight
object from adegenet
This function converts a gen_tibble
to a genlight
object from adegenet
gt_as_genlight(x)
x |
a |
a genlight
object
example_gt <- load_example_gt("gen_tbl")
# Convert to genlight
gt_genlight <- example_gt %>% gt_as_genlight()
# Check object class
class(gt_genlight)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.