extractSpeInfo {NicheBarcoding}R 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_ivy(at)163.com) 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)

[Package NicheBarcoding version 1.0 Index]