Learn R Programming

tidypopgen (version 0.4.3)

summary.gt_admix: Summary method for gt_admix objects

Description

Summary method for gt_admix objects

Usage

# S3 method for gt_admix
summary(object, ...)

Value

A summary of the gt_admix object

Arguments

object

a gt_admix object

...

unused (necessary for compatibility with generic function)

Examples

Run this code
# run the example only if we have the package installed
if (requireNamespace("LEA", quietly = TRUE)) {
  example_gt <- load_example_gt("gen_tbl")

  # Create a gt_admix object
  admix_obj <- example_gt %>% gt_snmf(k = 1:3, project = "force")

  # Print a summary
  summary(admix_obj)
}

Run the code above in your browser using DataLab