replace.names: Rename some or all samples

Description Usage Arguments Details

Description

Rename some or all samples

Usage

1
replace.names(gty, nn, ...)

Arguments

gty

a genotypes object

nn

a vector of new sample names

...

ignored

Details

The values in nn are used to replace existing names using the following rules. First, if nn is a named vector, it is assumed to map old names to new names. Otherwise nn must have length equal to the number of samples in gty, and each element should be a new name to replace an old one. Missing values are not permitted, for obvious reasons.


andrewparkermorgan/argyle documentation built on May 10, 2019, 11:08 a.m.