Usage
## S3 method for class 'loci':
print(x, details = FALSE, ...)
## S3 method for class 'loci':
summary(object, ...)
## S3 method for class 'summary.loci':
print(x, ...)
## S3 method for class 'loci':
[(x, i, j, drop = TRUE)
## S3 method for class 'summary.loci':
plot(x, loci, what = "both", layout = 1, col = c("blue", "red"), ...)Arguments
x, object
an object of class "loci" or "summary.loci".
details
a logical value: if TRUE the data are printed as
a data frame; the default is FALSE.
i, j
indices of the rows and/or columns to select or to drop.
They may be numeric, logical, or character (in the same way than for
standard R objects).
drop
a logical specifying whether to returned an object of
the smallest dimension possible, i.e., may return a vector or a
factor if drop = TRUE (this is not the default).
loci
the loci (genes) to be plotted. By default, all loci are
plotted.
what
the frequencies to be plotted. Three choices are possible:
"alleles", "genotypes", and "both" (the default),
or any unambiguous abbreviations.
layout
the number of graphs to be plotted simultaneously.
col
the colours used for the barplots.
...
further arguments to be passed to or from other methods.