get.npheno: Export underlying number of observations per phenotype
Description
Function to export the number of observation of each underlying phenotype
Usage
get.npheno(
population,
database = NULL,
gen = NULL,
cohorts = NULL,
use.all.copy = FALSE,
use.id = FALSE
)
Arguments
database
Groups of individuals to consider for the export
gen
Quick-insert for database (vector of all generations to export)
cohorts
Quick-insert for database (vector of names of cohorts to export)
use.all.copy
Set to TRUE to extract phenotyping
use.id
Set to TRUE to use MoBPS ids instead of Sex_Nr_Gen based names (default: FALSE)
Value
Phenotypes for in gen/database/cohorts selected individuals
Examples
Run this code# NOT RUN {
data(ex_pop)
get.pheno(ex_pop, gen=2)
# }
Run the code above in your browser using DataLab