| coreHunterData | R Documentation |
The data may contain genotypes, phenotypes and/or a precomputed distance matrix. All provided data should describe the same individuals which is verified by comparing the item ids and names.
coreHunterData(genotypes, phenotypes, distances)
genotypes |
Genetic marker data ( |
phenotypes |
Phenotypic trait data ( |
distances |
Precomputed distance matrix ( |
Core Hunter data (chdata) with elements
genoGenotype data of class chgeno if included.
phenoPhenotype data of class chpheno if included.
distDistance data of class chdist if included.
sizeNumber of individuals in the dataset.
idsUnique item identifiers.
namesItem names. Names of individuals to which no explicit name
has been assigned are equal to the unique ids.
javaJava version of the data object.
Core Hunter data of class chdata.
genotypes, phenotypes, distances
## Not run:
geno.file <- system.file("extdata", "genotypes.csv", package = "corehunter")
pheno.file <- system.file("extdata", "phenotypes.csv", package = "corehunter")
dist.file <- system.file("extdata", "distances.csv", package = "corehunter")
my.data <- coreHunterData(
genotypes(file = geno.file, format = "default"),
phenotypes(file = pheno.file),
distances(file = dist.file)
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.