is.Sequence: Check whether an object inherits from the Sequence class

Description Usage Arguments Value Author(s) See Also Examples

Description

Check whether an object inherits from the Sequence class.

Usage

1
2
## Default S3 method:
is.Sequence(this, ...)

Arguments

this

An object.

...

Not used.

Value

TRUE or FALSE

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see Sequence.

Examples

1
2
3
4
5
6
7
	# create some objects
	seq<-Sequence(length=10)
	a<-Alphabet()
	# check if they inherit from Sequence
	is.Sequence(seq)
	is.Sequence(a)
 

phylosim documentation built on Nov. 22, 2019, 1:07 a.m.