read_q_files | R Documentation |
q_matrix
or gt_admix
objects.This function reads .Q matrix files generated by external clustering
algorithms (such as ADMIXTURE) and transforms them into gt_admix
objects.
read_q_files(x)
x |
can be:
|
a gt_admix
object containing a list of Q matrices and a list of
indices for each Q matrix separated by K
q_files_path <- system.file("extdata", "anolis", package = "tidypopgen")
admix_obj <- read_q_files(q_files_path)
summary(admix_obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.