pegas (version 0.12)

edit.loci: Edit Allelic Data with R's Data Editor

Description

This allows to edit a data frame of class "loci" with R's spreadsheet-like data editor.

Usage

# S3 method for loci
edit(name, edit.row.names = TRUE, ...)

Arguments

name

an object of class "loci".

edit.row.names

a logical specifying to allow editing the rownames, TRUE by default (by contrast to data frames).

further arguments to be passed to or from other methods.

Value

A data frame with class c("loci", "data.frame").

Details

This `method' of the generic edit respects the class and the attribute "locicol" of the allelic data frame.

See Also

read.loci, summary.loci