extract.gb: Extracts and returns a specific item from .gb records

Description Usage Arguments Value Examples

View source: R/extract.gb.R

Description

This function regroup every items found in a list if they correspond to the character string specified. Works for general parts (ACCESSION, SOURCE...) and parts of FEATURES (source, gene, CDS...)

Usage

1
extract.gb(x, Item)

Arguments

x

The name of the list containing the records.

Item

character. The part to extract. It have to match case.

Value

Returns a list containing the data

Examples

1
2
3
4
## Not run: 
extract.gb(Example, "gene")

## End(Not run)

read.gb documentation built on Sept. 6, 2021, 5:08 p.m.

Related to extract.gb in read.gb...