getStrainIndices-methods: Get strain indices for the given samples.

Description Usage Arguments Value See Also

Description

Get strain indices for the given samples.

Usage

1
2
3
4
getStrainIndices(cross.info, samples = NULL)

## S4 method for signature 'CrossInfo'
getStrainIndices(cross.info, samples = NULL)

Arguments

cross.info

A CrossInfo object.

samples

Vector indicating samples to consider. This may be a logical vector of samples, an integer vector of sample indices, or a character vector that contains sample IDs or their equivalent syntactically valid name.

Value

Integer vector of strain indices for the given samples. If no samples are specified, all strain indices are returned. Returns NULL if strain indices are not present.

See Also

Other CrossInfo methods: getAlleles, getCrosstype, getGenotypes, getMarkerIndices, getMarkerNames, getMarkerSeqs, getMarkers, getNumMarkers, getNumPhenotypes, getNumSamples, getNumSeqs, getPhenotypeIndices, getPhenotypeNames, getPhenotypes, getSampleIndices, getSampleNames, getSamples, getSeqIndices, getSeqMarkers, getSeqNames, getSequences, getTetradIndices, hasMarkerSeqs, hasSampleIDs, hasStrainIndices, hasTetradIndices, setAlleles, setCrosstype, setGenotypes, setMarkerSeqs, setMarkers, setPhenotypes, setSamples, setSequences, setStrainIndices, setTetradIndices


gact/shmootl documentation built on Nov. 11, 2021, 6:23 p.m.