Learn R Programming

DOQTL (version 1.8.0)

get.num.auto: Get the number of autosomes

Description

Given a data.frame of SNPs, return the number of autosomes by counting the number of numeric chromosomes.

Usage

get.num.auto(snps)

Arguments

snps
Data.frame containing the marker locations. SNP ID, chromosome, Mb anc cM locations in columns 1 through 4, respectively.

Value

Numeric value containing the number of autosomes.

Examples

Run this code
  ## Not run:  get.num.auto(snps) 

Run the code above in your browser using DataLab