get_gene_details: Gets details of all available genes associated with accession...

Description Usage Arguments Details

View source: R/get_gene_details.R

Description

get_gene_details

Usage

1
get_gene_details(feature_name, freq, full_xmlTree)

Arguments

feature_name

Names of genes/features found associated with the accession. Function get_sample_details outputs 'feature_name' value.

freq

Frequency at which each of the 'feature_name' genes/features were found within the XML tree for this accession. Function get_sample_details outputs a 'freq' value associated with 'feature_name' value

full_xmlTree

xml tree downloaded from NCBI website and parsed to R structure with xmlInternalTreeParse - should be provided by earlier stages of the build_genbank_df function.

Details

This function extracts details and sequence data of genes available for each accession from an XML tree

Function designed to sit within build_genbank_df. In general, the input files should be provided by earlier stages of the build_genbank_df function. Extracts details about the accession being investigated, such as species name.


EvolEcolGroup/mtDNAcombine documentation built on July 8, 2021, 10:30 p.m.