Learn R Programming

strataG (version 2.4.905)

summarizeInds: Individual Summaries

Description

Compile standard by-individual summaries.

Usage

summarizeInds(g)

Arguments

g

a '>gtypes object.

Value

A data.frame with rows for each sample and columns containing:

id

The individual id

stratum

The stratum of the individual

num.loci.missing.genotypes

The number of genotypes missing

pct.loci.missing.genotypes

The proportion of genotypes missing

pct.loci.homozygous

The proportion of loci homozygous

Examples

Run this code
# NOT RUN {
data(msats.g)

summarizeInds(msats.g)

# }

Run the code above in your browser using DataLab