SeqLengthNoGaps: Provides length a sequence for each taxon in an alignment...

Description Usage Arguments Examples

Description

Provides length a sequence for each taxon in an alignment that is not a gap.

Usage

1
SeqLengthNoGaps(seq, seq.type = "dna")

Arguments

seq

A character matrix or seqalignment object.

seq.type

A value that indicates the type of sequences.

Examples

1
2
3
4
5
6
## Not run: 
test.sequences <- ((file = system.file("sequences/test.phylip",
package = "seqinr"), format = "fasta"))
test.sequences.lengths <- SeqLengthNoGaps(test.sequences, seq.typ="dna")

## End(Not run)

bomeara/sleq documentation built on May 12, 2019, 11:36 p.m.