Skip to content

Commit

Permalink
documentation tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
fruce-ki committed Aug 2, 2016
1 parent d1fd979 commit d856306
Show file tree
Hide file tree
Showing 9 changed files with 93 additions and 2,416 deletions.
45 changes: 34 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,38 +28,61 @@ available from CRAN.

## How to use rats

#### Dependencies

A full **tutorial vignette** is included in the package, explaining the input, output, commands and options.
If you install the package from one of the binaries or through Bioconductor, the vignette should then also be
available locally by calling:

`browseVignettes("rats")`

If all else fails, you can view a static version of the tutorial [in the wiki](https://github.com/bartongroup/Rats/wiki).


### Dependencies

The package depends on a few additional CRAN packages, which you may need to install first,
if they are not present already or if they are not installed automatically while installing `rats`.

`install.packages(c("data.table", "matrixStats", "ggplot2"))`


#### Obtaining rats
### Installation

Some **precompiled binary releases** are available from the [releases section](https://github.com/bartongroup/Rats/releases) on Github.
Download the appropriate binary for your system and then install it using:

**from Github:** `rats` is hosted on GitHub [here](https://github.com/bartongroup/Rats) and can be
installed directly, using the [devtools](https://www.rstudio.com/products/rpackages/devtools/) package:
`install.packages(<pathtopackage>, repos = NULL)` or
`install.packages(<pathtopackage>, repos = NULL, type="source")`

You can also install the **latest developmental version** directly from Github, using the [devtools](https://www.rstudio.com/products/rpackages/devtools/) package:

`devtools::install_github("bartongroup/rats")`

Eventually, we aim to make `rats` available through **Bioconductor** as well.

#### Calling Differential Transcript Usage with rats

A full tutorial vignette is included in the package, explaining the input, output, commands and options. It can be accessed with the
command below.
### Differential Transcript Usage

`browseVignettes("rats")`
A typical command to call DTU looks like this:

`results <- call_DTU(my_sleuth_object, my_identifiers_table, "Condition-1", "Condition-2")`

Alternatively, it can be downloaded from the `vignettes` [directory in the GitHub repository](https://github.com/bartongroup/Rats/tree/master/vignettes)
or the downloaded dev.zip archive.
Mandatory parameters:

* a sleuth object
* a dataframe matching unique transcript identifiers to gene identifiers
* the names of two conditions recorded in the sleuth object

For more details on the parameters, please refer to the tutorial vignette.


## Contact information

The rats R package was developed by members of [The Barton Group] (http://www.compbio.dundee.ac.uk) at [The University of Dundee] (http://www.dundee.ac.uk)
The rats R package was developed within [The Barton Group](http://www.compbio.dundee.ac.uk) at [The University of Dundee](http://www.dundee.ac.uk)
by Dr. Kimon Froussios, Dr. Kira Mourao and Dr. Nick Schurch.

To **report problems** or **ask for assistance**, please raise a new issue [on the project's support forum](https://github.com/bartongroup/Rats/issues).
Providing a *reproducible working example* that demonstrates your issue is strongly encouraged. Also, be sure to **read the vignette(s)**, and browse/search
the support forum before posting a new issue, in case your question is already answered there.

Enjoy!
239 changes: 0 additions & 239 deletions inst/doc/tutorial.R

This file was deleted.

Loading

0 comments on commit d856306

Please sign in to comment.