Q_dat {PopGenHelpR} | R Documentation |
A list representing a q-matrix and the locality information associated with the qmatrix
Description
List with two elements
Usage
data(Q_dat)
Format
A list with two elements:
- Qmat
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
- Loc_dat
The locality information for each individual in the q-matrix
...
Source
Data was generated by package authors.
Examples
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'))
[Package PopGenHelpR version 1.3.1 Index]