Conference info: https://bioc2018.bioconductor.org/
My first Bioconductor meeting, and I'm not a BioC or R expert so these notes are probably going to be naïve!
Conference info: https://bioc2018.bioconductor.org/
My first Bioconductor meeting, and I'm not a BioC or R expert so these notes are probably going to be naïve!
| ## this analysis assumes a dataframe `post_views` with columns: | |
| ## PostId | |
| ## CreationDate | |
| ## Tag | |
| ## AnswerCount | |
| ## ViewCount | |
| library(tidyverse) | |
| post_views %>% |
| ``` r | |
| library(Matrix) | |
| alpha = 0.05 | |
| A <- rsparsematrix(1000, 1000, 0.1) | |
| s <- as.data.frame(summary(A)) | |
| p <- abs(s$x) / sum(abs(s$x)) # probabilities proportional to abs(entry) |
| ## this file contains 4 functions using several R and Bioconductor | |
| ## packages to help identifying scarcely used R package dependencies | |
| ## representing a large installation burden. it has been created | |
| ## upon the following discussion thread on the bioc-devel mailing list: | |
| ## https://stat.ethz.ch/pipermail/bioc-devel/2020-February/016146.html | |
| ## | |
| ## to use these functions you need to build a database of package | |
| ## information using the following lines: | |
| ## | |
| ## repos <- BiocManager::repositories()[c("BioCsoft", "CRAN")] |
| # Globals | |
| repos <- 'https://cloud.r-project.org' | |
| pkgdata <- available.packages(repos = repos) | |
| pkgs <- row.names(pkgdata) | |
| # On success | |
| make_callback <- function(i, url){ | |
| function(res){ | |
| if(res$status == 200){ | |
| buf <- rawConnection(res$content) |
Default ggplot2 aesthetics by geom.
| geom | alpha | angle | colour | family | fill | fontface | height | hjust | lineheight | linetype | shape | size | stroke | vjust | weight | width | xmax | xmin | ymax | ymin |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GeomAbline | NA | black | 1 | 0.5 | ||||||||||||||||
| GeomAnnotationMap | NA | NA | grey20 | 1 | 0.5 | |||||||||||||||
| GeomArea | NA | NA | grey20 | 1 | 0.5 | |||||||||||||||
| GeomBar | NA | NA | grey35 | 1 | 0. |
| # Setup---- | |
| library(rtweet) | |
| source("~/R/Projects/environment_vars.R") # secrets | |
| api_key <- Sys.getenv("TWITTER_API_KEY") | |
| api_secret_key <- Sys.getenv("TWITTER_API_SECRET") | |
| access_token <- Sys.getenv("TWITTER_ACCESS_TOKEN") | |
| access_token_secret <- Sys.getenv("TWITTER_ACCESS_TOKEN_SECRET") |
| date | topic | url |
|---|---|---|
| 2021-01-11 | issue titles | https://twitter.com/jimhester_/status/1348742632491646976 |
| 2021-01-13 | new features | https://twitter.com/jimhester_/status/1349369619891564544 |
| 2021-01-15 | writing too much | https://twitter.com/jimhester_/status/1350076918520045568 |
| 2021-01-19 | imitation in PRs | https://twitter.com/jimhester_/status/1351533870261399555 |
| 2021-01-20 | issues crop | https://twitter.com/jimhester_/status/1351930803656257544 |
| 2021-01-25 | community sites | https://twitter.com/jimhester_/status/1353749482425491456 |
| 2021-01-29 | second contributions | https://twitter.com/jimhester_/status/1355195248612356099 |
| 2021-02-01 | robot pedantry | https://twitter.com/jimhester_/status/1356272709345419264 |
| set_invisible_attr <- function(x, ...) { | |
| x_chr <- as.character(substitute(x)) | |
| pf <- parent.frame() | |
| if(bindingIsActive(x_chr, pf)) { | |
| env <- environment(activeBindingFunction(x_chr, pf)) | |
| args <- list(...) | |
| env$closure$attrs[names(args)] <- args | |
| return(x) | |
| } |
| #!/usr/local/bin/Rscript | |
| library(potools) | |
| suppressPackageStartupMessages(library(data.table)) | |
| script_wd = setwd("~/github/r-svn") | |
| GIT_COMMIT = if (interactive()) readline('git commit: ') else commandArgs(TRUE) | |
| setwd('src/library') | |
| get_po_messages <- potools:::get_po_messages |