Learn R Programming

DNAprofiles (version 0.3.1)

get.markers: Retrieve the markers of a profiles object

Description

A profiles object is an integer matrix with two columns per marker. This function extracts the marker names from the column names of the profiles object.

Usage

get.markers(x)

Arguments

x
profiles object

Examples

Run this code
data(freqsNLsgmplus)
           x<- sample.profiles(1,freqsNLsgmplus)
           stopifnot(identical(get.markers(x),names(freqsNLsgmplus)))

Run the code above in your browser using DataLab