Code Monkey home page Code Monkey logo

dartr's Introduction

CRAN checks R-CMD-check

Importing and Analysing Snp and Silicodart Data Generated by Genome-Wide-Restriction Fragment Analysis


Changelog (list of newly integrated functions)

Changelog


Installation via CRAN

The package is now on CRAN, so to install simply type:

install.packages("dartR")
library(dartR)

It also includes now a nice tutorial (called vignette in R terminology). Once installed type:

browseVignettes("dartR")

to access it.


Manual installation of the latest version (R>3.5)

To install the latest package manually follow the description below:

The installation of the package might not run smoothly, as it requires additional bioconductor packages that need to be installed. To install the packages and all dependencies copy paste the script below into your R-console. (If you are lucky it simply installs all packages without any error message and you are done):

install.packages("devtools")
library(devtools)
install.packages("BiocManager")
BiocManager::install(c("SNPRelate", "qvalue"))
install_github("green-striped-gecko/dartR")
library(dartR)

Manual installation of the latest version (R<3.5)

The BiocManager package is not available for R<3.5, hence you may need to use the following code:

source("https://bioconductor.org/biocLite.R")
BiocInstaller::biocLite(c("SNPRelate", "qvalue"))
install.packages("dartR")
library(dartR)

Unfortunately sometimes to us unkown reasons R is not able to install all dependent packages and breaks with an error message. Then you need to install packages "by hand". For example you may find:

ERROR: dependency 'seqinr' is not available for package 'dartR'
removing 'C:/Program Files/R/library/dartR'
Error: Command failed (1)

Then you need to install the package seqinr via:

install.packages("seqinr")

And run the last line of code again:

install_github("green-striped-gecko/dartR")

This "game" of install.packages() and install_github() [the last two steps] might need to be repeated for additional packages as for whatever reason R does no longer install all packages (if anyone could tell me a way to fix this, it would be highly appreciated). Finally you should be able to run:

install_github("green-striped-gecko/dartR")
library(dartR)

without any error (warnings if you are using an older version of R are okay) and you are done.

In case you want to have the latest version of the package you can download the developer version via:

install_github("green-striped-gecko/dartR@dev")

!!Please note the here it is quite likely that some functions might not work, or even the install might break with an error.!!

Have fun working with dartR! Any issues you encounter please use the issues tab on github or contact us via email under [email protected]

Cheers, Bernd & Arthur

dartr's People

Contributors

green-striped-gecko avatar biomatix avatar mijangos81 avatar jdyen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.