Q_dat | R Documentation |
List with two elements
data(Q_dat)
A list with two elements:
A q-matrix with 6 columns and 30 rows, the first column lists the sample name and the remaining 5 represent the contribution a genetic cluster to that individuals ancestry
The locality information for each individual in the q-matrix
...
Data was generated by package authors.
data(Q_dat)
Qmat <- Q_dat[[1]]
rownames(Qmat) <- Qmat[,1]
Loc <- Q_dat[[2]]
Test_all <- Ancestry_barchart(anc.mat = Qmat, pops = Loc, K = 5,
plot.type = 'all',col = c('#d73027', '#fc8d59', '#e0f3f8', '#91bfdb', '#4575b4'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.