setSamples-methods: Set samples by index or sample ID.

Description Usage Arguments Value See Also

Description

Set samples by index or sample ID.

Usage

1
2
3
4
setSamples(cross.info, samples)

## S4 method for signature 'CrossInfo'
setSamples(cross.info, samples)

Arguments

cross.info

A CrossInfo object.

samples

Integer vector of sample indices or character vector of sample IDs.

Value

Input CrossInfo object with the given samples.

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, getStrainIndices, getTetradIndices, hasMarkerSeqs, hasSampleIDs, hasStrainIndices, hasTetradIndices, setAlleles, setCrosstype, setGenotypes, setMarkerSeqs, setMarkers, setPhenotypes, setSequences, setStrainIndices, setTetradIndices


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