Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

allele2zeroone

Converts alleleobject into binary matrix


Description

Converts alleleobject with codominant markers into binary matrix with a column for each marker.

Usage

allele2zeroone(alleleobject)

Arguments

alleleobject

object of class alleleobject as generated by alleleinit.

Value

A 0-1-matrix with individuals as rows and markers (alleles) as columns.

Author(s)

Examples

data(tetragonula)
  ta <- alleleconvert(strmatrix=tetragonula[21:50,])
  tai <- alleleinit(allelematrix=ta)
  allele2zeroone(tai)

prabclus

Functions for Clustering and Testing of Presence-Absence, Abundance and Multilocus Genetic Data

v2.3-2
GPL
Authors
Christian Hennig <christian.hennig@unibo.it>, Bernhard Hausdorf <Hausdorf@zoologie.uni-hamburg.de>
Initial release
2020-01-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.