An open API service indexing awesome lists of open source software.

https://github.com/Sage-Bionetworks/knit2synapse

Functionality to knit RMarkdown documents to Synapse wiki pages.
https://github.com/Sage-Bionetworks/knit2synapse

Last synced: about 1 month ago
JSON representation

Functionality to knit RMarkdown documents to Synapse wiki pages.

Awesome Lists containing this project

README

        

## knit2synapse: Knit RMarkdown files to Synapse wikis.

> This version has [synapser](https://github.com/Sage-Bionetworks/synapser) as a dependency. The last version of this package to use the [rSynapseClient](https://github.com/Sage-Bionetworks/rSynapseClient) is `v0.1`.

### Installing

First, install the `synapser` package:

```
install.packages("synapser", repos=c("https://sage-bionetworks.github.io/staging-ran", "http://cran.fhcrc.org"))
```

The, using `devtools`:

```
devtools::install_github("Sage-Bionetworks/knit2synapse")
```

### Usage

`knitfile2synapse(markdownfile, owner='syn123', parentWikiId = NULL, wikiName = NULL, overwrite = FALSE)`

* `markdownfile`: a path to a markdown file (including RMarkdown files)
* `owner`: The Entity where the Wiki page should go (this can be a `Project`, `File`, or `Folder` entity)
* `parentWikiId`: If supplied, will make a sub-Wiki underneath this Wiki ID. Note that this is not a Synapse ID (does not start with `syn`, it is an integer)

### Contributing
To contribute, [fork](http://help.github.com/fork-a-repo/) the [main repo](https://github.com/Sage-Bionetworks/knit2synapse), branch off a [feature branch](https://www.google.com/search?q=git+feature+branches) from `master`, make your changes and [commit](http://git-scm.com/docs/git-commit) them, [push](http://git-scm.com/docs/git-push) to your fork and submit a [pull request](http://help.github.com/send-pull-requests/) for `Sage-Bionetworks/knit2synapse:develop`.