Learn R Programming

RClone (version 1.0.3)

list_all: Listing unique alleles

Description

list_all_tab returns a table with loci in column and unique alleles in row.

Usage

list_all_tab(data1, haploid = FALSE, vecpop = NULL)

Arguments

data1

a Rclone table, with one allele per column.

haploid

logical, option, haploid indicates the ploidy level of data1.

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 the unique alleles per locus.

Examples

Run this code
# NOT RUN {
data(posidonia)

list_all_obj(posidonia, haploid = FALSE)
list_all_tab(posidonia, haploid = FALSE)
corresp_loci(posidonia, haploid = FALSE)
# }

Run the code above in your browser using DataLab