Lucas Schiffer (@_schifferl)
June 24, 2019
“Are there any guidelines against using the
%>%operator while doing software development? TheHMP16SDatapackage which is in review now, has completely missed the point of the pipe operator. … Extremely hard to read the code.”— Nitesh Turaga
“Looks OK from my end. Remain skeptical about the NSE.”
— Michael Lawrence
coreTeam <-
c("Marcel", "Qian", "Kayla", "Michael", "Lori", "Martin", "Valerie",
"Hervé", "Daniel", "James", "Andrzej", "Nitesh", "Jiefei")## [1] TRUE
## [1] FALSE
R code is itself computeableR code is a hierarchical treeR code can write R codeWickham, H. Advanced R (Chapman & Hall/CRC The R Series). (Routledge, 2014).
## mean(x, na.rm = TRUE)
Wickham, H. Advanced R (Chapman & Hall/CRC The R Series). (Routledge, 2014).
R code is a hierarchical tree## █─`+`
## ├─1
## └─█─`*`
## ├─2
## └─3
Wickham, H. Advanced R (Chapman & Hall/CRC The R Series). (Routledge, 2014).
R code can write R code## (x + x)/(y + y)
Wickham, H. Advanced R (Chapman & Hall/CRC The R Series). (Routledge, 2014).
## [1] 11
## [1] 45
Wickham, H. Advanced R (Chapman & Hall/CRC The R Series). (Routledge, 2014).
## class: SummarizedExperiment
## dim: 45383 319
## metadata(2): experimentData phylogeneticTree
## assays(1): 16SrRNA
## rownames(45383): OTU_97.1 OTU_97.10 ... OTU_97.9998 OTU_97.9999
## rowData names(7): CONSENSUS_LINEAGE SUPERKINGDOM ... FAMILY GENUS
## colnames(319): 700013549 700014386 ... 700114717 700114750
## colData names(7): RSID VISITNO ... HMP_BODY_SUBSITE SRS_SAMPLE_ID
## class: SummarizedExperiment
## dim: 45383 319
## metadata(2): experimentData phylogeneticTree
## assays(1): 16SrRNA
## rownames(45383): OTU_97.1 OTU_97.10 ... OTU_97.9998 OTU_97.9999
## rowData names(7): CONSENSUS_LINEAGE SUPERKINGDOM ... FAMILY GENUS
## colnames(319): 700013549 700014386 ... 700114717 700114750
## colData names(7): RSID VISITNO ... HMP_BODY_SUBSITE SRS_SAMPLE_ID
R Packages |
Books |
|---|---|
| furrr | Advanced R |
| lazyeval | R for Data Science |
| lobstr | Tidy Evaluation |
| magrittr | |
| plyranges | |
| purrr | |
| rlang |