Learn R Programming

GenTag (version 1.0)

esdataset: Empty synonym dataset

Description

Find synonyms in a dataset contain combination with code for empty tag.

Usage

esdataset(tag_sheet, emptyname, g1 = NA, g2 = NA, g3 = NA, g4 = NA, g5 = NA, g6 = NA)

Arguments

tag_sheet

Dataset contain sequences to be analyzed.

emptyname

Code used to define empty code.

g1

Group of tags from group 1. For example, in a code of 6 colors for bird tag, tags from 1 to 3 belongs to the left leg, and tags from 1 to 3 belongs to the right. g1 must to address the left leg, and g2 must to address right leg. Thus: "g1=1:3" and "g2=4:6".

g2

Group of tags from group 2. For example, in a code of 6 colors for bird tag, tags from 1 to 3 belongs to the left leg, and tags from 1 to 3 belongs to the right. g1 must to address the left leg, and g2 must to address right leg. Thus: "g1=1:3" and "g2=4:6".

g3

Group of tags from group 3.

g4

Group of tags from group 4.

g5

Group of tags from group 5.

g6

Group of tags from group 6.

Value

Matrix with all synonyms for from entire dataset

See Also

escode escombination

Examples

Run this code
# NOT RUN {
(combination<- matrix(c("EMPTY","Red","Blue","Green"),4,6,TRUE)) # Example of a dataset
esdataset(combination,"EMPTY",g1=1:3,g2=4:6)
# }

Run the code above in your browser using DataLab