Utility function for Biological Identifiers

Description

is.probeid tells if given IDs are probe IDs.

is.probetype tells if given types are probe ID types.

is.idtype tells if a given character vector contains valid types.

asGeneIdentifierType is similar to idtype, but returns an object of class GeneIdentifierType-class, for use in GeneSet-class objects.

Usage

is.probeid(x, ...)

is.probetype(type)

is.idtype(type)

asGeneIdentifierType(x, limit = NULL, annotation = NULL, error = NullIdentifier(annotation))

Arguments

x
an R object
...
extra arguments passed to idtype.
type
an identifier type as returned by idtype.
annotation
annotation package to associate with the returned GeneIdentifierType-class object.
error
specifies what to do if the type of x cannot be determined For asGeneIdentifierType, all arguments in ... are used in an internal call to idtype.
limit
specification for limiting which elements are used to detect the type of identifiers. If a single numeric, then only the first limit elements are used. Otherwise it must be a subsetting logical or numeric vector.