Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
R Based tools for open and collaborative science
Search
Scott Chamberlain
July 26, 2013
Science
1.4k
0
Share
R Based tools for open and collaborative science
Ignite talk at ESA on R-based tools for open and collaborative science
Scott Chamberlain
July 26, 2013
More Decks by Scott Chamberlain
See All by Scott Chamberlain
Contribution of traits, phenology, & phylogenetic history to plant-pollinator network structure
myrmecocystus
0
85
Programmatic access for Altmetrics
myrmecocystus
1
110
Contribution of traits and phylogenetic history to plant-pollinator network
myrmecocystus
0
120
Other Decks in Science
See All in Science
機械学習 - 決定木からはじめる機械学習
trycycle
PRO
0
1.5k
白金鉱業Meetup_Vol.20 効果検証ことはじめ / Introduction to Impact Evaluation
brainpadpr
2
1.9k
機械学習 - DBSCAN
trycycle
PRO
0
1.8k
次代のデータサイエンティストへ~スキルチェックリスト、タスクリスト更新~
datascientistsociety
PRO
3
42k
Testing the Longevity Bottleneck Hypothesis
chinson03
0
300
ハミルトン・ヤコビ方程式の解の性質と物理的意味
enakai00
0
600
20251212_LT忘年会_データサイエンス枠_新川.pdf
shinpsan
0
290
チュートリアル:世界モデル
hf149
0
1.6k
My Little Monster
juzishuu
0
710
イロレーティングを活用した関東大学サッカーの定量的実力評価 / A quantitative performance evaluation of Kanto University Football Association using Elo rating
konakalab
0
270
検索と推論タスクに関する論文の紹介
ynakano
1
230
人生を変えた一冊「独学大全」のはなし / Self-study ENCYCLOPEDIA: The Book Which Change My Life #独学大全 #EM推し本
expajp
0
160
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
135
9.9k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
830
The Curious Case for Waylosing
cassininazir
1
370
Balancing Empowerment & Direction
lara
6
1.1k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
290
YesSQL, Process and Tooling at Scale
rocio
174
15k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
600
WCS-LA-2024
lcolladotor
0
620
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
Between Models and Reality
mayunak
4
320
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
Transcript
R-based tools for open and collaborative science @recology_ Scott Chamberlain
Science needs to be more open
http://everyoneknowsbest.files.wordpress.com/2008/08/bodysculpture.jpg We build on the knowledge of others http://everyoneknowsbest.files.wordpress.com/2008/08/bodysculpture.jpg
Less mistakes More things can happen b/c data is open
http://everyoneknowsbest.files.wordpress.com/2008/08/bodysculpture.jpg The public paid for it!
http://www.fotopedia.com/items/flickr-4796633039 But we need tools to do it!!!!!
What kinds of tools? Not these
These!!!!!!
• Collect data • Manipulate data • Visualize • Analyze
• Write What does an ecologist do?
R is a good solution
• R is Open source = Free + Rapid change
• R = entire workflow in 1 place • R = reproducible science Why?
Get some data from the web library(RCurl); library(RJSONIO) dat <-
fromJSON(getURL("https://api.github.com/users/hadley/repos")) Manipulate the data library(plyr); library(reshape2) dat_melt <- melt(ldply(dat, function(x) data.frame(x[names(x) %in% c("name","watchers_count","forks")]))) Run some statistical model lm(value ~ variable, data = dat_melt) Visualize results library(ggplot2) ggplot(dat_melt, aes(name, value, colour = variable)) + geom_point() + coord_flip() Write the paper # Introduction...
Data increasingly on the web
The toolbelt
Literature library(rplos) plot_throughtime('phylogeny', 300) + geom_line(size=2)
Taxonomy library(taxize) classification("Abies procera", db = "itis") rankName taxonName
tsn Kingdom Plantae 202422 Subkingdom Viridaeplantae 846492 Infrakingdom Streptophyta 846494 Division Tracheophyta 846496 Subdivision Spermatophytina 846504 Infradivision Gymnospermae 846506 Class Pinopsida 500009 Order Pinales 500028 Family Pinaceae 18030 Genus Abies 18031 Species Abies procera 181835
Species occurrences from GBIF library(rgbif) splist <- c('Accipiter erythronemius', 'Junco
hyemalis', 'Aix sponsa', 'Podiceps cristatus') out <- occurrencelist_many(splist) gbifmap_list(out)
Occurrence from USGS’s BISON service library(rbison) out <- bison(species="Helianthus annuus",
count=500) bisonmap(input=out, tomap="county")
Climate data from the World Bank library(rWBclimate) country.list <- c("USA",
"MEX") country.dat <- get_historical_temp(country.list, "year") ggplot(country.dat, aes(x = year, y = data, group = locator)) + geom_point() + geom_path() + labs(y="Average annual temperature of Canada", x="Year") + theme_bw() + stat_smooth(se = F, colour = "black") + facet_wrap(~locator, scale = "free")
Take action! FontAwesome http://fortawesome.github.io/Font-Awesome/ fontawesome 2 png https://github.com/odyniec/font-awesome-to-png Presentation available
here: http://bit.ly/16tuVbu