nsnps: Count the number of markers in the data

View source: R/nsnps.R

nsnpsR Documentation

Count the number of markers in the data

Description

This is a help function to count the number of markers in an object read in with genDataRead (or loaded with genDataLoad).

Usage

nsnps(data.in, design = "triad")

Arguments

data.in

The data read in by genDataRead.

design

The design used in the study - choose from:

  • triad (default) - data includes genotypes of mother, father and child;

  • cc - classical case-control;

  • cc.triad - hybrid design: triads with cases and controls

Value

How many markers (integer).


Haplin documentation built on Sept. 11, 2024, 7:13 p.m.