Auxiliary functions {adegenet}R Documentation

Utilities functions for adegenet

Description

These functions are mostly used internally in adegenet. The notable exceptions are adegenetWeb which opens the adegenet website in the default navigator, and adegenetTutorial which opens online tutorials for adegenet.

The other functions are:
- checkType: checks the type of markers being used in a function and issues an error if appropriate.
- .rmspaces: remove peripheric spaces in a character string.
- .genlab: generate labels in a correct alphanumeric ordering.
- .readExt: read the extension of a given file.

Usage

adegenetWeb()
adegenetTutorial(which=c("general","spca"))
.genlab(base, n)

Arguments

which a character string being "general" or "spca", indicating which tutorial should be opened.
base a character string forming the base of the labels
n the number of labels to generate

Value

For .genlab, a character vector of size "n".

Author(s)

Thibaut Jombart t.jombart@imperial.ac.uk

Examples

## Not run: 
## this opens the adegenet website
adegenetWeb()

## this opens the general tutorial for adegenet
adegenetTutorial()

## this opens the sPCA tutorial for adegenet
adegenetTutorial("spca")
## End(Not run)

.genlab("Locus-",11)

[Package adegenet version 1.2-3 Index]