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(x, "gene")

## End(Not run)

Largon-Denayah/read.gb-2.0.1 documentation built on May 17, 2020, 12:19 a.m.