Learn R Programming

RClone (version 1.0.3)

MLG_tab: Table of MLG (MultiLocus Genotypes)

Description

MLG_tab returns a table with one row per MLG and several columns if there's several units per MLG.

Usage

MLG_tab(data1, vecpop = NULL)

Arguments

data1

a Rclone table with one allele per column, haploid or diploid data.

vecpop

vector, option, vecpop indicates the population name of each unit of data1, if data1 contains several populations. If data1 contains only one population, leave vecpop = NULL.

Value

a table (one population) or a list of tables (several populations)with one row per MLG and several columns if several units share the same MLG.

References

Arnaud-Haond et al., 2007, Standardizing methods to address clonality in population studies.

Examples

Run this code
# NOT RUN {
data(posidonia)

res <- MLG_tab(posidonia)
res
# }

Run the code above in your browser using DataLab