lociplots | R Documentation |
Given a clustering of individuals from prabclust
(as
generated in species delimitation) and a clustering of markers (for
example dominant markers of genetic loci), lociplots
visualises
the presence of markers against the clustering of individuals and
computes some statistics.
lociplots(indclust,locclust,locprab,lcluster,
symbols=NULL,brightest.grey=0.8,darkest.grey=0,
mdsdim=1:2)
indclust |
|
locclust |
vector of integers. Clustering of markers/loci. |
locprab |
|
lcluster |
integer. Number of cluster in |
symbols |
vector of plot symbols. If |
brightest.grey |
numeric between 0 and 1. Brightest grey value used in plot for individuals with smallest marker percentage, see details. |
darkest.grey |
numeric between 0 and 1. Darkest grey value used in plot for individuals with highest marker percentage, see details. |
mdsdim |
vector of two integers. The two MDS variables taken from
|
Plot and statistics are based on the individual marker percentage,
which is the percentage of markers present in an individual of the
markers belonging to cluster no. lcluster
. In the plot, the
grey value visualises the marker percentage.
list with components
locfreq |
vector of individual marker percentages. |
locfreqmin |
vector of minimum individual marker precentages for
each cluster in |
locfreqmax |
vector of maximum individual marker precentages for
each cluster in |
locfreqmean |
vector of average individual marker precentages for
each cluster in |
Christian Hennig christian.hennig@unibo.it https://www.unibo.it/sitoweb/christian.hennig/en
prabclust
options(digits=4)
data(veronica)
vei <- prabinit(prabmatrix=veronica[1:50,],distance="jaccard")
ppv <- prabclust(vei)
veloci <- prabinit(prabmatrix=veronica[1:50,],rows.are.species=FALSE)
velociclust <- prabclust(veloci,nnk=0)
lociplots(ppv,velociclust$clustering,veloci,lcluster=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.