Learn R Programming

seqRFLP (version 1.0.1)

gnames.fas: Get the names of sequences from fasta objects.

Description

This function could be used to obtain the names of DNA sequences from fasta objects.

Usage

gnames.fas(x = NULL)

Arguments

x
Object with class "fasta".

Value

Returns the names of sequences stored in a vector of character strings.

Details

To be added.

References

None.

See Also

See Also rename.fas for renaming the names of the DNA sequences.

Examples

Run this code

### gnames.fas() example
data(fil.fas)
gnames.fas(fil.fas)

Run the code above in your browser using DataLab