extractSpeInfo: Extraction of taxon/species and distribution information

View source: R/extractSpeInfo.R

extractSpeInfoR Documentation

Extraction of taxon/species and distribution information

Description

Split comma-separated sample information into different columns of a data frame.

Usage

extractSpeInfo(seqID.full)

Arguments

seqID.full

Character, sample ID, taxon information and longitude and latitude data that splitted by comma in class character.

Value

A data frame of splitted sample ID, taxon information and longitude and latitude data for further analysis.

Author(s)

Cai-qing YANG (Email: yangcq(at)cnu.edu.cn) and Ai-bing ZHANG (Email:zhangab2008(at)cnu.edu.cn), Capital Normal University (CNU), Beijing, CHINA.

Examples

data(LappetMoths)
ref.seq<-LappetMoths$ref.seq
seqID.full<-rownames(ref.seq)

infor<-extractSpeInfo(seqID.full)
head(infor)

Yangcq-Ivy/NicheBarcoding documentation built on Aug. 9, 2024, 9:50 p.m.