Learn R Programming

RClone (version 1.0.3)

sort_all: Sorting alleles

Description

sort_all sorts alleles of diploid data by increasing order.

Usage

sort_all(data1)

Arguments

data1

a Rclone table with one allele per column.

Value

a table of exact format of data1, but with alleles sorted.

Details

To use properly RClone functions on diploid data, you MUST be sure that your alleles are sorted by increasing order. Run this function before any analysis.

References

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

See Also

convert_GC for tables with one locus per column.

Examples

Run this code
# NOT RUN {
data(posidonia)

posidonia == sort_all(posidonia)
# }

Run the code above in your browser using DataLab