vfrequency {GenTag} | R Documentation |
Variable frequency tag sequence sample
Description
Create combinations with defined sample probability to each colors.
Usage
vfrequency(ntag, colorsname, colorsf, nspecial = 0, name1 = "Metal",
name2 = "EMPTY", location1 = 1, location2 = 2, nspecial1 = 1, nspecial2 = 1)
Arguments
ntag |
Number of tag to be used in each animal. |
colorsname |
Names/Code of color tags to be sample. |
colorsf |
Frequencies/ratio for color sample. |
nspecial |
Number of special tags/codes, such as metallic, "EMPTY", or flag (min 0, max 2). |
name1 |
Name of special tag 1. |
name2 |
Name of special tag 2. |
location1 |
Position (or group of positions) to special band 1. |
location2 |
Position (or group of positions) to special band 2. |
nspecial1 |
Number of special tag 1 that will be present in all sequences genetated. |
nspecial2 |
Number of special tag 2 that will be present in all sequences genetated. |
Value
A sequencie of tags
Author(s)
Biagolini-Jr
See Also
allequal genseq lifexp
Examples
tcol<-c("Black","Blue","Brown","Gray","Green","Pink","Purple","Red","White","Yellow")
p<-c(1,2,5,1,2,2,4,5,8,5)
genseq(30, 4, tcol, gen_method="vfrequency", colorsf=p)
[Package GenTag version 1.0 Index]