https://github.com/holgerbrandl/datautils
R utilities useful for data-mining
https://github.com/holgerbrandl/datautils
dplyr r
Last synced: 3 months ago
JSON representation
R utilities useful for data-mining
- Host: GitHub
- URL: https://github.com/holgerbrandl/datautils
- Owner: holgerbrandl
- License: other
- Created: 2014-07-18T10:35:38.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2022-11-23T06:21:31.000Z (almost 3 years ago)
- Last Synced: 2024-04-24T03:15:56.473Z (over 1 year ago)
- Topics: dplyr, r
- Language: R
- Homepage:
- Size: 315 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `datautils`
Some little [R](http://r-project.org/) helpers to work with data, and bio-data in particular.
To use them just source them when needed.
Use the issue tracker to suggest changes or to report problems. Feel welcome to suggest changes to or send pull requests.
R
===The R bits are split up into tools for
* general data handling, see [`core_commons.R`](R/core_commons.R)
* plotting using ggplot2, see [`ggplot_commons.R`](R/ggplot_commons.R)
* bioinformatics using various bioconductor packages, see [`bioinfo_commons.R`](R/bio/bioinfo_commons.R)and some more.
```
devtools::source_url("https://raw.githubusercontent.com/holgerbrandl/datautils/master/R/core_commons.R")
devtools::source_url("https://raw.githubusercontent.com/holgerbrandl/datautils/master/R/ggplot_commons.R")
devtools::source_url("https://raw.githubusercontent.com/holgerbrandl/datautils/master/R/bio/bioinfo_commons.R")
```Installation
============To install as package run
```
install.packages("remotes")
remotes::install_github("holgerbrandl/datautils")
```or from local working copy with
```
devtools::install_local("/path/to/workingcopy")
# devtools::install_local("d:/projects/misc/datautils")
```To allow for reproducible research, we prefer [version tags](https://github.com/holgerbrandl/datautils/releases) over cran deployment. You can use these tags to write our workflows. Eg. you could use the stable `v1.45` tag
```
devtools::source_url("https://raw.githubusercontent.com/holgerbrandl/datautils/v1.45/R/core_commons.R")
```Instead to use the latest master-branch version (which is subject of constant change) use
```
devtools::source_url("https://raw.githubusercontent.com/holgerbrandl/datautils/master/R/datatable_commons.R")
```### How to serve locally?
Launch local file server in directory where files are located
```
python -m http.server &
```Use the local server to source the files
```
devtools::source_url("http://localhost:8000/core_commons.R")
```### Install development version locally
```
devtools::install(".")
```