SlideShare a Scribd company logo
1	
   of	
  	
  	
  14	
  
T.	
  C.	
  Hsieh,	
  K.	
  H.	
  Ma,	
  Anne	
  Chao	
  
2015	
  台灣⽣生態研究網年會,	
  14	
  March	
  2015	
  
iNEXT:	
  An	
  R	
  package	
  for	
  interpola8on	
  
and	
  extrapola8on	
  in	
  measuring	
  
species	
  diversity
2	
   of	
  	
  	
  14	
  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/	
  
Agenda
•  What	
  is	
  species	
  diversity?	
  
•  Why	
  we	
  need	
  interpolaKon	
  and	
  extrapolaKon?	
  
•  Demo	
  and	
  case	
  study.	
  
•  Intro	
  to	
  shiny,	
  a	
  web	
  app	
  for	
  R.
3	
   of	
  	
  	
  14	
  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/	
  
What	
  is	
  species	
  diversity?	
  
	
  	
  	
  	
  	
  Species	
  diversity	
  is	
  defined	
  as	
  the	
  number	
  
of	
  species	
  and	
  abundance	
  of	
  each	
  species	
  in	
  
a	
  given	
  community	
  
	
  	
  	
  	
  	
  The	
  number	
  of	
  species	
  that	
  live	
  in	
  a	
  
certain	
  locaKon,	
  species	
  richness	
  is	
  the	
  most	
  
widely	
  used	
  diversity	
  measure.	
  
	
   	
   	
   	
  The	
  effec8ve	
  number	
  of	
  species	
  refers	
  to	
  the	
  
number	
   of	
   equally	
   abundant	
   species	
   needed	
   to	
  
obtain	
   the	
   same	
   mean	
   proporKonal	
   species	
  
abundance	
  observed	
  in	
  the	
  dataset	
  of	
  interest.	
  
Chao	
  and	
  Jost	
  (2012,	
  Ecology	
  Vol.	
  93)	
  
	
  	
  
4	
   of	
  	
  	
  14	
  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/	
  
Effec8ve	
  transform
f (p)
10	
  different	
  abundant	
  species	
  	
   10	
  equally	
  abundant	
  species	
  
5	
   of	
  	
  	
  14	
  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/	
  
If , the value is equivalent to that of an idealized
assemblage with x equally abundant species,
Effec8ve	
  number	
  (Hill	
  1973)	
  
Order	
   q	
  =	
  0	
   q	
  =	
  1	
   q	
  =	
  2	
  
"  Name	
   "  Richness	
   "  exp(Shannon	
  entropy)	
   "  1	
  /	
  (Simpson	
  index)	
  
"  SensKve	
  to	
   "  All	
  species	
   "  Typical	
  species	
   "  Dominant	
  species	
  
)1/(1
1
qS
i
q
i
q
pD
−
=
⎟
⎠
⎞
⎜
⎝
⎛
= ∑
)1/(1
])/1([ qq
xxx −
⋅=
xDq
=
The parameter q determines the sensitivity of the relative
frequencies
6	
   of	
  	
  	
  14	
  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/	
  
Interpola8on	
  and	
  Extrapola8on	
  
	
  	
  	
  	
  	
  	
  	
  The	
  number	
  of	
  species	
  
counted	
  in	
  a	
  biodiversity	
  study	
  is	
  
usually	
  a	
  biased	
  underes8mate.	
  
	
  	
  	
  	
  	
  	
  	
  The	
  observed	
  number	
  of	
  
species	
  is	
  sensiKve	
  to	
  the	
  sample	
  
size	
  or	
  sampling	
  efforts.	
  
	
  	
  	
  	
  	
  	
  	
  	
  We	
  develop	
  interpolaKon	
  
and	
  extrapolaKon	
  curve	
  for	
  
abundance-­‐based	
  and	
  incidence-­‐
based	
  data
.where
,)(
0
)1/(1
0
mX
m
X
mD
i
i
X
i
q
X
q
iq
=
⎥
⎥
⎦
⎤
⎢
⎢
⎣
⎡
⎟
⎠
⎞
⎜
⎝
⎛
≈
∑
∑
>
−
>
The	
  effecDve	
  number	
  with	
  sample	
  of	
  size	
  m.	
  
7	
   of	
  	
  	
  14	
  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/	
  
Interpola8on	
  and	
  Extrapola8on	
  
	
  	
  	
  	
  	
  	
  	
  The	
  number	
  of	
  species	
  
counted	
  in	
  a	
  biodiversity	
  study	
  is	
  
usually	
  a	
  biased	
  underes8mate.	
  
	
  	
  	
  	
  	
  	
  	
  The	
  observed	
  number	
  of	
  
species	
  is	
  sensiKve	
  to	
  the	
  sample	
  
size	
  or	
  sampling	
  efforts.	
  
	
  	
  	
  	
  	
  	
  	
  	
  We	
  develop	
  interpolaKon	
  
and	
  extrapolaKon	
  curve	
  for	
  
abundance-­‐based	
  and	
  incidence-­‐
based	
  data
The	
  interpolated	
  and	
  extrapolated	
  species	
  
diversity	
  curves	
  for	
  abundance-­‐based	
  
data.	
  
8	
   of	
  	
  	
  14	
  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/	
  
Coverage-­‐based	
  comparison	
  
	
  	
  	
  	
  	
  	
  	
  Samples	
  standardized	
  by	
  size	
  
will	
  usually	
  have	
  different	
  
degrees	
  of	
  sample	
  completeness	
  
or	
  sample	
  coverage.	
  
	
  	
  	
  	
  	
  	
  	
  Ex:	
  10	
  tree	
  species	
  with	
  
sample	
  of	
  100	
  individuals	
  in	
  a	
  
temperate-­‐zone	
  tree	
  community	
  
vs.	
  50	
  species	
  with	
  sample	
  of	
  100	
  
individuals	
  in	
  a	
  tropical	
  rain	
  
forest	
  community.
∑
∑
=
=
−−≈
>=
S
i
m
ii
S
i
ii
pp
XIpmC
1
1
])1(1[
)0()(
Coverage	
  is	
  defined	
  as	
  the	
  total	
  relaDve	
  
abundances	
  of	
  the	
  observed	
  species	
  
9	
   of	
  	
  	
  14	
  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/	
  
Coverage-­‐based	
  comparison	
  
	
  	
  	
  	
  	
  	
  	
  Samples	
  standardized	
  by	
  size	
  
will	
  usually	
  have	
  different	
  
degrees	
  of	
  sample	
  completeness	
  
or	
  sample	
  coverage.	
  
	
  	
  	
  	
  	
  	
  	
  Ex:	
  10	
  tree	
  species	
  with	
  
sample	
  of	
  100	
  individuals	
  in	
  a	
  
temperate-­‐zone	
  tree	
  community	
  
vs.	
  50	
  species	
  with	
  sample	
  of	
  100	
  
individuals	
  in	
  a	
  tropical	
  rain	
  
forest	
  community.
The	
  interpolated	
  and	
  extrapolated	
  species	
  
diversity	
  curves	
  for	
  abundance-­‐based	
  
data.	
  
10	
   of	
  	
  	
  14	
  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/	
  
"  Install	
  iNEXT	
  package	
  from	
  github	
  and	
  import	
  package	
  
"  Run	
  the	
  demo
Demo	
  and	
  case	
  study	
  
install.packages('devtools')
library(devtools)
install_github('iNEXT','JohnsonHsieh')
library(iNEXT)
data(spider)
out <- iNEXT(spider, q=0, datatype="abundance", endpoint=500)
ggiNEXT(out, type=1, color.var="site", facet.var="site")
ggiNEXT(out, type=2, color.var="site", facet.var="site")
ggiNEXT(out, type=3, color.var="site", facet.var="site")
11	
   of	
  	
  	
  14	
  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/	
  
Intro	
  to	
  shiny	
  
”Let	
  R	
  user	
  become	
  web	
  applica8on	
  designer	
  
wihtout	
  HTML,	
  CSS,	
  or	
  JavaScript”	
  	
  
	
  
14	
   of	
  	
  	
  14	
  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/	
  
Key	
  references
1. Chao,	
  A.,	
  N.	
  J.	
  Gotelli,	
  T.	
  C.	
  Hsieh,	
  E.	
  L.	
  Sander,	
  K.	
  H.	
  Ma,	
  R.	
  K.	
  Colwell,	
  and	
  A.	
  M.	
  Ellison	
  2014.	
  
RarefacKon	
  and	
  extrapolaKon	
  with	
  Hill	
  numbers:	
  a	
  unified	
  framework	
  for	
  sampling	
  and	
  
esKmaKon	
  in	
  biodiversity	
  studies,	
  Ecological	
  Monographs	
  84:45-­‐67.	
  
2. Chao,	
  A.,	
  and	
  L.	
  Jost.	
  2012.	
  Coverage-­‐based	
  rarefacKon	
  and	
  extrapolaKon:	
  standardizing	
  
samples	
  by	
  completeness	
  rather	
  than	
  size.	
  Ecology	
  93:2533-­‐2547.	
  
3. Colwell,	
  R.	
  K.,	
  A.	
  Chao,	
  N.	
  J.	
  Gotelli,	
  S.	
  Y.	
  Lin,	
  C.	
  X.	
  Mao,	
  R.	
  L.	
  Chazdon,	
  and	
  J.	
  T.	
  Longino.	
  2012.	
  
Models	
  and	
  esKmators	
  linking	
  individual-­‐based	
  and	
  sample-­‐based	
  rarefacKon,	
  extrapolaKon	
  
and	
  comparison	
  of	
  assemblages.	
  Journal	
  of	
  Plant	
  Ecology	
  5:3-­‐21.	
  
4. Hsieh,	
  T.	
  C.,	
  K.	
  H.	
  Ma,	
  and	
  A.	
  Chao.	
  2013.	
  iNEXT	
  online:	
  interpolaKon	
  and	
  extrapolaKon	
  
(Version	
  1.3.0)	
  [SoCware].	
  Available	
  from	
  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐
download/.	
  
5. Hsieh	
  T.	
  C.,	
  K.	
  H.	
  Ma,	
  and	
  A.	
  Chao.	
  2014.	
  iNEXT:	
  An	
  R	
  package	
  for	
  interpolaKon	
  and	
  
extrapolaKon	
  in	
  measuring	
  species	
  diversity.	
  Unpublished	
  manuscript.	
  
15	
   of	
  	
  	
  14	
  
Thanks	
  For	
  Listening	
  

More Related Content

Viewers also liked

Voluntary guidelines to support the integration of genetic diversity into nat...
Voluntary guidelines to support the integration of genetic diversity into nat...Voluntary guidelines to support the integration of genetic diversity into nat...
Voluntary guidelines to support the integration of genetic diversity into nat...
FAO
 
iNEXT: an r package for interpolation and extrapolation species diversity
iNEXT: an r package for interpolation and extrapolation species diversityiNEXT: an r package for interpolation and extrapolation species diversity
iNEXT: an r package for interpolation and extrapolation species diversity
Johnson Hsieh
 
association of attributes
association of attributesassociation of attributes
association of attributes
Abhishek Goyal
 
Species Diversity Concepts
Species Diversity ConceptsSpecies Diversity Concepts
Species Diversity Concepts
Firstland Cavern
 
Species diversity
Species diversitySpecies diversity
Species diversity
Janna Corona
 
D4SG : 資料科學開創公共服務的新契機
D4SG : 資料科學開創公共服務的新契機D4SG : 資料科學開創公共服務的新契機
D4SG : 資料科學開創公共服務的新契機
Johnson Hsieh
 
Simple linear regressionn and Correlation
Simple linear regressionn and CorrelationSimple linear regressionn and Correlation
Simple linear regressionn and Correlation
Southern Range, Berhampur, Odisha
 

Viewers also liked (7)

Voluntary guidelines to support the integration of genetic diversity into nat...
Voluntary guidelines to support the integration of genetic diversity into nat...Voluntary guidelines to support the integration of genetic diversity into nat...
Voluntary guidelines to support the integration of genetic diversity into nat...
 
iNEXT: an r package for interpolation and extrapolation species diversity
iNEXT: an r package for interpolation and extrapolation species diversityiNEXT: an r package for interpolation and extrapolation species diversity
iNEXT: an r package for interpolation and extrapolation species diversity
 
association of attributes
association of attributesassociation of attributes
association of attributes
 
Species Diversity Concepts
Species Diversity ConceptsSpecies Diversity Concepts
Species Diversity Concepts
 
Species diversity
Species diversitySpecies diversity
Species diversity
 
D4SG : 資料科學開創公共服務的新契機
D4SG : 資料科學開創公共服務的新契機D4SG : 資料科學開創公共服務的新契機
D4SG : 資料科學開創公共服務的新契機
 
Simple linear regressionn and Correlation
Simple linear regressionn and CorrelationSimple linear regressionn and Correlation
Simple linear regressionn and Correlation
 

Similar to iNEXT: An R package for interpolation and extrapolation in measuring species diversity

Measuring Biodiversity
Measuring BiodiversityMeasuring Biodiversity
Measuring Biodiversity
Hawkesdale P12 College
 
Statistics - Presentation
Statistics - PresentationStatistics - Presentation
Statistics - Presentation
ROCIO YUSTE
 
Open Tree of Life @NSF
Open Tree of Life @NSFOpen Tree of Life @NSF
Open Tree of Life @NSF
Karen Cranston
 
Take Home PortionDirections Problems (150pts). This part, i.e. th.docx
Take Home PortionDirections Problems (150pts). This part, i.e. th.docxTake Home PortionDirections Problems (150pts). This part, i.e. th.docx
Take Home PortionDirections Problems (150pts). This part, i.e. th.docx
ssuserf9c51d
 
Biodiversity Management
Biodiversity ManagementBiodiversity Management
Biodiversity Management
Hawkesdale P12 College
 
Hierarchical clustering of multi class data (the zoo dataset)
Hierarchical clustering of multi class data (the zoo dataset)Hierarchical clustering of multi class data (the zoo dataset)
Hierarchical clustering of multi class data (the zoo dataset)
Raid Mahbouba
 
Formal Ontologies and Uncertainty - INPUT2014
Formal Ontologies and Uncertainty - INPUT2014Formal Ontologies and Uncertainty - INPUT2014
Formal Ontologies and Uncertainty - INPUT2014
Matteo Caglioni
 
Using the Semantic Web to Support Ecoinformatics
Using the Semantic Web to Support EcoinformaticsUsing the Semantic Web to Support Ecoinformatics
Using the Semantic Web to Support Ecoinformatics
ebiquity
 
Drug Repurposing using Deep Learning on Knowledge Graphs
Drug Repurposing using Deep Learning on Knowledge GraphsDrug Repurposing using Deep Learning on Knowledge Graphs
Drug Repurposing using Deep Learning on Knowledge Graphs
Databricks
 
Lecture 5 Sampling distribution of sample mean.pptx
Lecture 5 Sampling distribution of sample mean.pptxLecture 5 Sampling distribution of sample mean.pptx
Lecture 5 Sampling distribution of sample mean.pptx
shakirRahman10
 
3B.2 Measuring Biodiversity
3B.2 Measuring Biodiversity3B.2 Measuring Biodiversity
3B.2 Measuring Biodiversity
Hawkesdale P12 College
 
BiPday 2014 -- Vicario Saverio
BiPday 2014 -- Vicario SaverioBiPday 2014 -- Vicario Saverio
BiPday 2014 -- Vicario Saverio
eventi-ITBbari
 
20140317 pi b_nmbe_journal_club
20140317 pi b_nmbe_journal_club20140317 pi b_nmbe_journal_club
20140317 pi b_nmbe_journal_club
agosti
 
Multi-objective Flower Algorithm for Optimization
Multi-objective Flower Algorithm for OptimizationMulti-objective Flower Algorithm for Optimization
Multi-objective Flower Algorithm for Optimization
Xin-She Yang
 
Franz et al ice 2016 addressing the name meaning drift challenge in open ende...
Franz et al ice 2016 addressing the name meaning drift challenge in open ende...Franz et al ice 2016 addressing the name meaning drift challenge in open ende...
Franz et al ice 2016 addressing the name meaning drift challenge in open ende...
taxonbytes
 
The structure of insect—plant host data as derived from museum collections: ...
The structure of insect—plant host data as derived from museum collections:  ...The structure of insect—plant host data as derived from museum collections:  ...
The structure of insect—plant host data as derived from museum collections: ...
Katja C. Seltmann
 
Brief introduction to Bioinformatics
Brief introduction to BioinformaticsBrief introduction to Bioinformatics
Brief introduction to Bioinformatics
Cynthia Alexander Rascon
 
"Spark, Deep Learning and Life Sciences, Systems Biology in the Big Data Age"...
"Spark, Deep Learning and Life Sciences, Systems Biology in the Big Data Age"..."Spark, Deep Learning and Life Sciences, Systems Biology in the Big Data Age"...
"Spark, Deep Learning and Life Sciences, Systems Biology in the Big Data Age"...
Dataconomy Media
 
Recommandation sociale : filtrage collaboratif et par le contenu
Recommandation sociale : filtrage collaboratif et par le contenuRecommandation sociale : filtrage collaboratif et par le contenu
Recommandation sociale : filtrage collaboratif et par le contenu
Patrice Bellot - Aix-Marseille Université / CNRS (LIS, INS2I)
 
From peer-reviewed to peer-reproduced: a role for research objects in scholar...
From peer-reviewed to peer-reproduced: a role for research objects in scholar...From peer-reviewed to peer-reproduced: a role for research objects in scholar...
From peer-reviewed to peer-reproduced: a role for research objects in scholar...
Alejandra Gonzalez-Beltran
 

Similar to iNEXT: An R package for interpolation and extrapolation in measuring species diversity (20)

Measuring Biodiversity
Measuring BiodiversityMeasuring Biodiversity
Measuring Biodiversity
 
Statistics - Presentation
Statistics - PresentationStatistics - Presentation
Statistics - Presentation
 
Open Tree of Life @NSF
Open Tree of Life @NSFOpen Tree of Life @NSF
Open Tree of Life @NSF
 
Take Home PortionDirections Problems (150pts). This part, i.e. th.docx
Take Home PortionDirections Problems (150pts). This part, i.e. th.docxTake Home PortionDirections Problems (150pts). This part, i.e. th.docx
Take Home PortionDirections Problems (150pts). This part, i.e. th.docx
 
Biodiversity Management
Biodiversity ManagementBiodiversity Management
Biodiversity Management
 
Hierarchical clustering of multi class data (the zoo dataset)
Hierarchical clustering of multi class data (the zoo dataset)Hierarchical clustering of multi class data (the zoo dataset)
Hierarchical clustering of multi class data (the zoo dataset)
 
Formal Ontologies and Uncertainty - INPUT2014
Formal Ontologies and Uncertainty - INPUT2014Formal Ontologies and Uncertainty - INPUT2014
Formal Ontologies and Uncertainty - INPUT2014
 
Using the Semantic Web to Support Ecoinformatics
Using the Semantic Web to Support EcoinformaticsUsing the Semantic Web to Support Ecoinformatics
Using the Semantic Web to Support Ecoinformatics
 
Drug Repurposing using Deep Learning on Knowledge Graphs
Drug Repurposing using Deep Learning on Knowledge GraphsDrug Repurposing using Deep Learning on Knowledge Graphs
Drug Repurposing using Deep Learning on Knowledge Graphs
 
Lecture 5 Sampling distribution of sample mean.pptx
Lecture 5 Sampling distribution of sample mean.pptxLecture 5 Sampling distribution of sample mean.pptx
Lecture 5 Sampling distribution of sample mean.pptx
 
3B.2 Measuring Biodiversity
3B.2 Measuring Biodiversity3B.2 Measuring Biodiversity
3B.2 Measuring Biodiversity
 
BiPday 2014 -- Vicario Saverio
BiPday 2014 -- Vicario SaverioBiPday 2014 -- Vicario Saverio
BiPday 2014 -- Vicario Saverio
 
20140317 pi b_nmbe_journal_club
20140317 pi b_nmbe_journal_club20140317 pi b_nmbe_journal_club
20140317 pi b_nmbe_journal_club
 
Multi-objective Flower Algorithm for Optimization
Multi-objective Flower Algorithm for OptimizationMulti-objective Flower Algorithm for Optimization
Multi-objective Flower Algorithm for Optimization
 
Franz et al ice 2016 addressing the name meaning drift challenge in open ende...
Franz et al ice 2016 addressing the name meaning drift challenge in open ende...Franz et al ice 2016 addressing the name meaning drift challenge in open ende...
Franz et al ice 2016 addressing the name meaning drift challenge in open ende...
 
The structure of insect—plant host data as derived from museum collections: ...
The structure of insect—plant host data as derived from museum collections:  ...The structure of insect—plant host data as derived from museum collections:  ...
The structure of insect—plant host data as derived from museum collections: ...
 
Brief introduction to Bioinformatics
Brief introduction to BioinformaticsBrief introduction to Bioinformatics
Brief introduction to Bioinformatics
 
"Spark, Deep Learning and Life Sciences, Systems Biology in the Big Data Age"...
"Spark, Deep Learning and Life Sciences, Systems Biology in the Big Data Age"..."Spark, Deep Learning and Life Sciences, Systems Biology in the Big Data Age"...
"Spark, Deep Learning and Life Sciences, Systems Biology in the Big Data Age"...
 
Recommandation sociale : filtrage collaboratif et par le contenu
Recommandation sociale : filtrage collaboratif et par le contenuRecommandation sociale : filtrage collaboratif et par le contenu
Recommandation sociale : filtrage collaboratif et par le contenu
 
From peer-reviewed to peer-reproduced: a role for research objects in scholar...
From peer-reviewed to peer-reproduced: a role for research objects in scholar...From peer-reviewed to peer-reproduced: a role for research objects in scholar...
From peer-reviewed to peer-reproduced: a role for research objects in scholar...
 

More from Johnson Hsieh

Talk to data science in 10 minutes
Talk to data science in 10 minutesTalk to data science in 10 minutes
Talk to data science in 10 minutes
Johnson Hsieh
 
[網二] 打擊家暴的資料英雄--- NPO如何憑藉數據來解決社會問題?
[網二] 打擊家暴的資料英雄--- NPO如何憑藉數據來解決社會問題?[網二] 打擊家暴的資料英雄--- NPO如何憑藉數據來解決社會問題?
[網二] 打擊家暴的資料英雄--- NPO如何憑藉數據來解決社會問題?
Johnson Hsieh
 
[網二] 『資料力,做公益』- 開創公共服務的新契機
[網二] 『資料力,做公益』- 開創公共服務的新契機 [網二] 『資料力,做公益』- 開創公共服務的新契機
[網二] 『資料力,做公益』- 開創公共服務的新契機
Johnson Hsieh
 
Self improvement in the big data era
Self improvement in the big data eraSelf improvement in the big data era
Self improvement in the big data era
Johnson Hsieh
 
資料原力,改變社會
資料原力,改變社會資料原力,改變社會
資料原力,改變社會
Johnson Hsieh
 
Who believes in data science
Who believes in data scienceWho believes in data science
Who believes in data science
Johnson Hsieh
 
資料視覺化的力量
資料視覺化的力量資料視覺化的力量
資料視覺化的力量
Johnson Hsieh
 
資料科學推廣教育的實踐
資料科學推廣教育的實踐資料科學推廣教育的實踐
資料科學推廣教育的實踐
Johnson Hsieh
 
媒體報導關聯性分析:以太陽花學運為例
媒體報導關聯性分析:以太陽花學運為例媒體報導關聯性分析:以太陽花學運為例
媒體報導關聯性分析:以太陽花學運為例Johnson Hsieh
 
Data science101
Data science101Data science101
Data science101
Johnson Hsieh
 
資料科學計劃的成果與展望
資料科學計劃的成果與展望資料科學計劃的成果與展望
資料科學計劃的成果與展望
Johnson Hsieh
 
Data science and ECFA media analysis
Data science and ECFA media analysisData science and ECFA media analysis
Data science and ECFA media analysis
Johnson Hsieh
 
Statistics with R
Statistics with RStatistics with R
Statistics with R
Johnson Hsieh
 
Intro shiny coscup2013
Intro shiny coscup2013Intro shiny coscup2013
Intro shiny coscup2013
Johnson Hsieh
 
Paper Summary
Paper SummaryPaper Summary
Paper Summary
Johnson Hsieh
 

More from Johnson Hsieh (15)

Talk to data science in 10 minutes
Talk to data science in 10 minutesTalk to data science in 10 minutes
Talk to data science in 10 minutes
 
[網二] 打擊家暴的資料英雄--- NPO如何憑藉數據來解決社會問題?
[網二] 打擊家暴的資料英雄--- NPO如何憑藉數據來解決社會問題?[網二] 打擊家暴的資料英雄--- NPO如何憑藉數據來解決社會問題?
[網二] 打擊家暴的資料英雄--- NPO如何憑藉數據來解決社會問題?
 
[網二] 『資料力,做公益』- 開創公共服務的新契機
[網二] 『資料力,做公益』- 開創公共服務的新契機 [網二] 『資料力,做公益』- 開創公共服務的新契機
[網二] 『資料力,做公益』- 開創公共服務的新契機
 
Self improvement in the big data era
Self improvement in the big data eraSelf improvement in the big data era
Self improvement in the big data era
 
資料原力,改變社會
資料原力,改變社會資料原力,改變社會
資料原力,改變社會
 
Who believes in data science
Who believes in data scienceWho believes in data science
Who believes in data science
 
資料視覺化的力量
資料視覺化的力量資料視覺化的力量
資料視覺化的力量
 
資料科學推廣教育的實踐
資料科學推廣教育的實踐資料科學推廣教育的實踐
資料科學推廣教育的實踐
 
媒體報導關聯性分析:以太陽花學運為例
媒體報導關聯性分析:以太陽花學運為例媒體報導關聯性分析:以太陽花學運為例
媒體報導關聯性分析:以太陽花學運為例
 
Data science101
Data science101Data science101
Data science101
 
資料科學計劃的成果與展望
資料科學計劃的成果與展望資料科學計劃的成果與展望
資料科學計劃的成果與展望
 
Data science and ECFA media analysis
Data science and ECFA media analysisData science and ECFA media analysis
Data science and ECFA media analysis
 
Statistics with R
Statistics with RStatistics with R
Statistics with R
 
Intro shiny coscup2013
Intro shiny coscup2013Intro shiny coscup2013
Intro shiny coscup2013
 
Paper Summary
Paper SummaryPaper Summary
Paper Summary
 

Recently uploaded

EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
Sérgio Sacani
 
8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf
by6843629
 
Immersive Learning That Works: Research Grounding and Paths Forward
Immersive Learning That Works: Research Grounding and Paths ForwardImmersive Learning That Works: Research Grounding and Paths Forward
Immersive Learning That Works: Research Grounding and Paths Forward
Leonel Morgado
 
Sciences of Europe journal No 142 (2024)
Sciences of Europe journal No 142 (2024)Sciences of Europe journal No 142 (2024)
Sciences of Europe journal No 142 (2024)
Sciences of Europe
 
Sexuality - Issues, Attitude and Behaviour - Applied Social Psychology - Psyc...
Sexuality - Issues, Attitude and Behaviour - Applied Social Psychology - Psyc...Sexuality - Issues, Attitude and Behaviour - Applied Social Psychology - Psyc...
Sexuality - Issues, Attitude and Behaviour - Applied Social Psychology - Psyc...
PsychoTech Services
 
aziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobelaziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobel
İsa Badur
 
Travis Hills of MN is Making Clean Water Accessible to All Through High Flux ...
Travis Hills of MN is Making Clean Water Accessible to All Through High Flux ...Travis Hills of MN is Making Clean Water Accessible to All Through High Flux ...
Travis Hills of MN is Making Clean Water Accessible to All Through High Flux ...
Travis Hills MN
 
The cost of acquiring information by natural selection
The cost of acquiring information by natural selectionThe cost of acquiring information by natural selection
The cost of acquiring information by natural selection
Carl Bergstrom
 
Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.
Aditi Bajpai
 
Randomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNERandomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNE
University of Maribor
 
ESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptxESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptx
PRIYANKA PATEL
 
GBSN - Biochemistry (Unit 6) Chemistry of Proteins
GBSN - Biochemistry (Unit 6) Chemistry of ProteinsGBSN - Biochemistry (Unit 6) Chemistry of Proteins
GBSN - Biochemistry (Unit 6) Chemistry of Proteins
Areesha Ahmad
 
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdfwaterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
LengamoLAppostilic
 
ESA/ACT Science Coffee: Diego Blas - Gravitational wave detection with orbita...
ESA/ACT Science Coffee: Diego Blas - Gravitational wave detection with orbita...ESA/ACT Science Coffee: Diego Blas - Gravitational wave detection with orbita...
ESA/ACT Science Coffee: Diego Blas - Gravitational wave detection with orbita...
Advanced-Concepts-Team
 
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
Scintica Instrumentation
 
Mending Clothing to Support Sustainable Fashion_CIMaR 2024.pdf
Mending Clothing to Support Sustainable Fashion_CIMaR 2024.pdfMending Clothing to Support Sustainable Fashion_CIMaR 2024.pdf
Mending Clothing to Support Sustainable Fashion_CIMaR 2024.pdf
Selcen Ozturkcan
 
在线办理(salfor毕业证书)索尔福德大学毕业证毕业完成信一模一样
在线办理(salfor毕业证书)索尔福德大学毕业证毕业完成信一模一样在线办理(salfor毕业证书)索尔福德大学毕业证毕业完成信一模一样
在线办理(salfor毕业证书)索尔福德大学毕业证毕业完成信一模一样
vluwdy49
 
Describing and Interpreting an Immersive Learning Case with the Immersion Cub...
Describing and Interpreting an Immersive Learning Case with the Immersion Cub...Describing and Interpreting an Immersive Learning Case with the Immersion Cub...
Describing and Interpreting an Immersive Learning Case with the Immersion Cub...
Leonel Morgado
 
AJAY KUMAR NIET GreNo Guava Project File.pdf
AJAY KUMAR NIET GreNo Guava Project File.pdfAJAY KUMAR NIET GreNo Guava Project File.pdf
AJAY KUMAR NIET GreNo Guava Project File.pdf
AJAY KUMAR
 
Compexometric titration/Chelatorphy titration/chelating titration
Compexometric titration/Chelatorphy titration/chelating titrationCompexometric titration/Chelatorphy titration/chelating titration
Compexometric titration/Chelatorphy titration/chelating titration
Vandana Devesh Sharma
 

Recently uploaded (20)

EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
 
8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf
 
Immersive Learning That Works: Research Grounding and Paths Forward
Immersive Learning That Works: Research Grounding and Paths ForwardImmersive Learning That Works: Research Grounding and Paths Forward
Immersive Learning That Works: Research Grounding and Paths Forward
 
Sciences of Europe journal No 142 (2024)
Sciences of Europe journal No 142 (2024)Sciences of Europe journal No 142 (2024)
Sciences of Europe journal No 142 (2024)
 
Sexuality - Issues, Attitude and Behaviour - Applied Social Psychology - Psyc...
Sexuality - Issues, Attitude and Behaviour - Applied Social Psychology - Psyc...Sexuality - Issues, Attitude and Behaviour - Applied Social Psychology - Psyc...
Sexuality - Issues, Attitude and Behaviour - Applied Social Psychology - Psyc...
 
aziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobelaziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobel
 
Travis Hills of MN is Making Clean Water Accessible to All Through High Flux ...
Travis Hills of MN is Making Clean Water Accessible to All Through High Flux ...Travis Hills of MN is Making Clean Water Accessible to All Through High Flux ...
Travis Hills of MN is Making Clean Water Accessible to All Through High Flux ...
 
The cost of acquiring information by natural selection
The cost of acquiring information by natural selectionThe cost of acquiring information by natural selection
The cost of acquiring information by natural selection
 
Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.
 
Randomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNERandomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNE
 
ESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptxESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptx
 
GBSN - Biochemistry (Unit 6) Chemistry of Proteins
GBSN - Biochemistry (Unit 6) Chemistry of ProteinsGBSN - Biochemistry (Unit 6) Chemistry of Proteins
GBSN - Biochemistry (Unit 6) Chemistry of Proteins
 
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdfwaterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
 
ESA/ACT Science Coffee: Diego Blas - Gravitational wave detection with orbita...
ESA/ACT Science Coffee: Diego Blas - Gravitational wave detection with orbita...ESA/ACT Science Coffee: Diego Blas - Gravitational wave detection with orbita...
ESA/ACT Science Coffee: Diego Blas - Gravitational wave detection with orbita...
 
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
 
Mending Clothing to Support Sustainable Fashion_CIMaR 2024.pdf
Mending Clothing to Support Sustainable Fashion_CIMaR 2024.pdfMending Clothing to Support Sustainable Fashion_CIMaR 2024.pdf
Mending Clothing to Support Sustainable Fashion_CIMaR 2024.pdf
 
在线办理(salfor毕业证书)索尔福德大学毕业证毕业完成信一模一样
在线办理(salfor毕业证书)索尔福德大学毕业证毕业完成信一模一样在线办理(salfor毕业证书)索尔福德大学毕业证毕业完成信一模一样
在线办理(salfor毕业证书)索尔福德大学毕业证毕业完成信一模一样
 
Describing and Interpreting an Immersive Learning Case with the Immersion Cub...
Describing and Interpreting an Immersive Learning Case with the Immersion Cub...Describing and Interpreting an Immersive Learning Case with the Immersion Cub...
Describing and Interpreting an Immersive Learning Case with the Immersion Cub...
 
AJAY KUMAR NIET GreNo Guava Project File.pdf
AJAY KUMAR NIET GreNo Guava Project File.pdfAJAY KUMAR NIET GreNo Guava Project File.pdf
AJAY KUMAR NIET GreNo Guava Project File.pdf
 
Compexometric titration/Chelatorphy titration/chelating titration
Compexometric titration/Chelatorphy titration/chelating titrationCompexometric titration/Chelatorphy titration/chelating titration
Compexometric titration/Chelatorphy titration/chelating titration
 

iNEXT: An R package for interpolation and extrapolation in measuring species diversity

  • 1. 1   of      14   T.  C.  Hsieh,  K.  H.  Ma,  Anne  Chao   2015  台灣⽣生態研究網年會,  14  March  2015   iNEXT:  An  R  package  for  interpola8on   and  extrapola8on  in  measuring   species  diversity
  • 2. 2   of      14  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/   Agenda •  What  is  species  diversity?   •  Why  we  need  interpolaKon  and  extrapolaKon?   •  Demo  and  case  study.   •  Intro  to  shiny,  a  web  app  for  R.
  • 3. 3   of      14  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/   What  is  species  diversity?            Species  diversity  is  defined  as  the  number   of  species  and  abundance  of  each  species  in   a  given  community            The  number  of  species  that  live  in  a   certain  locaKon,  species  richness  is  the  most   widely  used  diversity  measure.          The  effec8ve  number  of  species  refers  to  the   number   of   equally   abundant   species   needed   to   obtain   the   same   mean   proporKonal   species   abundance  observed  in  the  dataset  of  interest.   Chao  and  Jost  (2012,  Ecology  Vol.  93)      
  • 4. 4   of      14  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/   Effec8ve  transform f (p) 10  different  abundant  species     10  equally  abundant  species  
  • 5. 5   of      14  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/   If , the value is equivalent to that of an idealized assemblage with x equally abundant species, Effec8ve  number  (Hill  1973)   Order   q  =  0   q  =  1   q  =  2   "  Name   "  Richness   "  exp(Shannon  entropy)   "  1  /  (Simpson  index)   "  SensKve  to   "  All  species   "  Typical  species   "  Dominant  species   )1/(1 1 qS i q i q pD − = ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ = ∑ )1/(1 ])/1([ qq xxx − ⋅= xDq = The parameter q determines the sensitivity of the relative frequencies
  • 6. 6   of      14  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/   Interpola8on  and  Extrapola8on                The  number  of  species   counted  in  a  biodiversity  study  is   usually  a  biased  underes8mate.                The  observed  number  of   species  is  sensiKve  to  the  sample   size  or  sampling  efforts.                  We  develop  interpolaKon   and  extrapolaKon  curve  for   abundance-­‐based  and  incidence-­‐ based  data .where ,)( 0 )1/(1 0 mX m X mD i i X i q X q iq = ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎣ ⎡ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ ≈ ∑ ∑ > − > The  effecDve  number  with  sample  of  size  m.  
  • 7. 7   of      14  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/   Interpola8on  and  Extrapola8on                The  number  of  species   counted  in  a  biodiversity  study  is   usually  a  biased  underes8mate.                The  observed  number  of   species  is  sensiKve  to  the  sample   size  or  sampling  efforts.                  We  develop  interpolaKon   and  extrapolaKon  curve  for   abundance-­‐based  and  incidence-­‐ based  data The  interpolated  and  extrapolated  species   diversity  curves  for  abundance-­‐based   data.  
  • 8. 8   of      14  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/   Coverage-­‐based  comparison                Samples  standardized  by  size   will  usually  have  different   degrees  of  sample  completeness   or  sample  coverage.                Ex:  10  tree  species  with   sample  of  100  individuals  in  a   temperate-­‐zone  tree  community   vs.  50  species  with  sample  of  100   individuals  in  a  tropical  rain   forest  community. ∑ ∑ = = −−≈ >= S i m ii S i ii pp XIpmC 1 1 ])1(1[ )0()( Coverage  is  defined  as  the  total  relaDve   abundances  of  the  observed  species  
  • 9. 9   of      14  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/   Coverage-­‐based  comparison                Samples  standardized  by  size   will  usually  have  different   degrees  of  sample  completeness   or  sample  coverage.                Ex:  10  tree  species  with   sample  of  100  individuals  in  a   temperate-­‐zone  tree  community   vs.  50  species  with  sample  of  100   individuals  in  a  tropical  rain   forest  community. The  interpolated  and  extrapolated  species   diversity  curves  for  abundance-­‐based   data.  
  • 10. 10   of      14  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/   "  Install  iNEXT  package  from  github  and  import  package   "  Run  the  demo Demo  and  case  study   install.packages('devtools') library(devtools) install_github('iNEXT','JohnsonHsieh') library(iNEXT) data(spider) out <- iNEXT(spider, q=0, datatype="abundance", endpoint=500) ggiNEXT(out, type=1, color.var="site", facet.var="site") ggiNEXT(out, type=2, color.var="site", facet.var="site") ggiNEXT(out, type=3, color.var="site", facet.var="site")
  • 11. 11   of      14  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/   Intro  to  shiny   ”Let  R  user  become  web  applica8on  designer   wihtout  HTML,  CSS,  or  JavaScript”      
  • 12.
  • 13.
  • 14. 14   of      14  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐download/inext-­‐r-­‐package/   Key  references 1. Chao,  A.,  N.  J.  Gotelli,  T.  C.  Hsieh,  E.  L.  Sander,  K.  H.  Ma,  R.  K.  Colwell,  and  A.  M.  Ellison  2014.   RarefacKon  and  extrapolaKon  with  Hill  numbers:  a  unified  framework  for  sampling  and   esKmaKon  in  biodiversity  studies,  Ecological  Monographs  84:45-­‐67.   2. Chao,  A.,  and  L.  Jost.  2012.  Coverage-­‐based  rarefacKon  and  extrapolaKon:  standardizing   samples  by  completeness  rather  than  size.  Ecology  93:2533-­‐2547.   3. Colwell,  R.  K.,  A.  Chao,  N.  J.  Gotelli,  S.  Y.  Lin,  C.  X.  Mao,  R.  L.  Chazdon,  and  J.  T.  Longino.  2012.   Models  and  esKmators  linking  individual-­‐based  and  sample-­‐based  rarefacKon,  extrapolaKon   and  comparison  of  assemblages.  Journal  of  Plant  Ecology  5:3-­‐21.   4. Hsieh,  T.  C.,  K.  H.  Ma,  and  A.  Chao.  2013.  iNEXT  online:  interpolaKon  and  extrapolaKon   (Version  1.3.0)  [SoCware].  Available  from  h8p://chao.stat.nthu.edu.tw/blog/soCware-­‐ download/.   5. Hsieh  T.  C.,  K.  H.  Ma,  and  A.  Chao.  2014.  iNEXT:  An  R  package  for  interpolaKon  and   extrapolaKon  in  measuring  species  diversity.  Unpublished  manuscript.  
  • 15. 15   of      14   Thanks  For  Listening