Autoplots for q_matrix objects

# S3 method for class 'q_matrix'
autoplot(object, data = NULL, annotate_group = TRUE, ...)

Arguments

object

A Q matrix object (as returned by as_q_matrix()).

data

An associated tibble (e.g. a gen_tibble), with the individuals in the same order as the data used to generate the Q matrix

annotate_group

Boolean determining whether to annotate the plot with the group information

...

not currently used.

Value

a barplot of individuals, coloured by ancestry proportion