Skip to content

Commit

Permalink
website: add install
Browse files Browse the repository at this point in the history
  • Loading branch information
Kdreval committed Mar 19, 2024
1 parent 7a194ca commit 17f39fc
Show file tree
Hide file tree
Showing 7 changed files with 763 additions and 25 deletions.
4 changes: 4 additions & 0 deletions docs/concepts/GAMBLR_family.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@
<span class="menu-text">Getting started</span>
</a>
<ul class="dropdown-menu" aria-labelledby="nav-menu-getting-started">
<li>
<a class="dropdown-item" href="../install.html" rel="" target="">
<span class="dropdown-text">Installation</span></a>
</li>
</ul>
</li>
<li class="nav-item dropdown ">
Expand Down
4 changes: 4 additions & 0 deletions docs/concepts/glossary.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@
<span class="menu-text">Getting started</span>
</a>
<ul class="dropdown-menu" aria-labelledby="nav-menu-getting-started">
<li>
<a class="dropdown-item" href="../install.html" rel="" target="">
<span class="dropdown-text">Installation</span></a>
</li>
</ul>
</li>
<li class="nav-item dropdown ">
Expand Down
4 changes: 4 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@
<span class="menu-text">Getting started</span>
</a>
<ul class="dropdown-menu" aria-labelledby="nav-menu-getting-started">
<li>
<a class="dropdown-item" href="./install.html" rel="" target="">
<span class="dropdown-text">Installation</span></a>
</li>
</ul>
</li>
<li class="nav-item dropdown ">
Expand Down
691 changes: 691 additions & 0 deletions docs/install.html

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions docs/install.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
hide:
- toc
- navigation
- footer
---

# Installation

We recommend installing the package directly from GitHub (requires `devtools` dependency).

```r
if (!require("devtools")) install.packages("devtools")

devtools::install_github(
"morinlab/GAMBLR.viz",
repos = BiocManager::repositories()
)
```

You can confirm successful installation by running a simple info command:
```r
viz_info() #Prints general info to the console
```
57 changes: 32 additions & 25 deletions docs/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,11 @@
"text": "GAMBLR.viz is the top-most member of the GAMBLR family of packages that is designed to be used outside of GSC and for users who are not members of Morin Lab. It mostly serves the purpose of providing functions for high-level visualizations of genomic data, including simple somatic mutations, structural variations, copy number alterations, and combinations of these data.\nThe GAMBLR family includes:\n\nGAMBLR.data - collection of genomic data for analysis of Mature B-cell neoplasms\nGAMBLR.helpers - a set of low-level functions for data operation\nGAMBLR.utils - higher level set of functions to operate on genomic data\nGAMBLR.viz - this package\nGAMBLR.results - used to access the full data in GAMBL project. Only available for members of the Morin Lab and requires access to GSC, but can also be run locally once properly configured and synced.\n\nThis diagram illustrates in a simplified way the dependency relationship of different packages in the GAMBLR.family:\n\n\n\n\nflowchart LR\n A(\"GAMBLR.data\") --&gt; B(\"GAMBLR.helpers\")\n B --&gt; C(\"GAMBLR.utils\")\n C --&gt; D(\"GAMBLR.viz\")\n D --&gt; E{\"Morin Lab member?\"}\n E -- YES --&gt; F(\"GAMBLR.results\")\n E -- NO --&gt; A\n\n\n\n\n\nAll dependencies should be installed automatically for you, just like with any other R package. If not, please report the issue in the appropriate GitHub repo.\n\n\n\n Back to top"
},
{
"objectID": "index.html",
"href": "index.html",
"title": "GAMBLR.viz",
"objectID": "install.html",
"href": "install.html",
"title": "Installation",
"section": "",
"text": "Why use GAMBLR.viz?\n \n \n \n How to install?\n \n \n \n How to use?\n \n \n \n Release notes\n \n \n \n GitHub"
},
{
"objectID": "index.html#install",
"href": "index.html#install",
"title": "GAMBLR.viz",
"section": "Install",
"text": "Install\nWe recommend installing the package directly from GitHub (requires devtools dependency).\ndevtools::install_github(\n \"morinlab/GAMBLR.viz\",\n repos = BiocManager::repositories()\n)\n\n\n\nShow quickstart"
},
{
"objectID": "index.html#quickstart",
"href": "index.html#quickstart",
"title": "GAMBLR.viz",
"section": "Quickstart",
"text": "Quickstart\nThe quick and easy way to get started is to make sure the devtools dependency is installed, then install the GAMBLR.viz:\n# Verify devtools is installed\nif (!require(\"devtools\")) install.packages(\"devtools\")\n\n# Install GAMBLR.viz\ndevtools::install_github(\n \"morinlab/GAMBLR.viz\",\n repos = BiocManager::repositories()\n)"
},
{
"objectID": "index.html#installation-for-developers",
"href": "index.html#installation-for-developers",
"title": "GAMBLR.viz",
"section": "Installation for developers",
"text": "Installation for developers\nThe easiest way to obtain and contribute to GAMBLR.viz is to do this via cloning the repository\ncd\ngit clone git@github.com:morinlab/GAMBLR.viz.git\nIn your R editor of choice (which is hopefully VS Code now), set your working directory to the place you just cloned the repo.\nsetwd(\"~/GAMBLR.viz\")\nInstall the package in R by running the following command (requires the devtools package):\ndevtools::install()\nAfter applying your modifications to the code, use the following command to quickly test your changes without directly installing the packaage (requires the devtools dependency):\ndevtools::load_all()\nGAMBLR.viz is a free open-source package, but the Master branch is protected. We welcome contributions (pull request, bug report, feature request, PR review) from all levels of users. All commits must be submitted via pull request on a branch. Please refer to the GitHub documentation for details on how to do pull request."
"text": "Installation\nWe recommend installing the package directly from GitHub (requires devtools dependency).\nif (!require(\"devtools\")) install.packages(\"devtools\")\n\ndevtools::install_github(\n \"morinlab/GAMBLR.viz\",\n repos = BiocManager::repositories()\n)\nYou can confirm successful installation by running a simple info command:\nviz_info() #Prints general info to the console\n\n\n\n\n Back to top"
},
{
"objectID": "why.html",
Expand Down Expand Up @@ -76,6 +55,34 @@
"section": "Getting started",
"text": "Getting started\nIf you’re interested in trying GAMBLR.viz we recommend the getting started tutorial."
},
{
"objectID": "index.html",
"href": "index.html",
"title": "GAMBLR.viz",
"section": "",
"text": "Why use GAMBLR.viz?\n \n \n \n How to install?\n \n \n \n How to use?\n \n \n \n Release notes\n \n \n \n GitHub"
},
{
"objectID": "index.html#install",
"href": "index.html#install",
"title": "GAMBLR.viz",
"section": "Install",
"text": "Install\nWe recommend installing the package directly from GitHub (requires devtools dependency).\ndevtools::install_github(\n \"morinlab/GAMBLR.viz\",\n repos = BiocManager::repositories()\n)\n\n\n\nShow quickstart"
},
{
"objectID": "index.html#quickstart",
"href": "index.html#quickstart",
"title": "GAMBLR.viz",
"section": "Quickstart",
"text": "Quickstart\nThe quick and easy way to get started is to make sure the devtools dependency is installed, then install the GAMBLR.viz:\n# Verify devtools is installed\nif (!require(\"devtools\")) install.packages(\"devtools\")\n\n# Install GAMBLR.viz\ndevtools::install_github(\n \"morinlab/GAMBLR.viz\",\n repos = BiocManager::repositories()\n)"
},
{
"objectID": "index.html#installation-for-developers",
"href": "index.html#installation-for-developers",
"title": "GAMBLR.viz",
"section": "Installation for developers",
"text": "Installation for developers\nThe easiest way to obtain and contribute to GAMBLR.viz is to do this via cloning the repository\ncd\ngit clone git@github.com:morinlab/GAMBLR.viz.git\nIn your R editor of choice (which is hopefully VS Code now), set your working directory to the place you just cloned the repo.\nsetwd(\"~/GAMBLR.viz\")\nInstall the package in R by running the following command (requires the devtools package):\ndevtools::install()\nAfter applying your modifications to the code, use the following command to quickly test your changes without directly installing the packaage (requires the devtools dependency):\ndevtools::load_all()\nGAMBLR.viz is a free open-source package, but the Master branch is protected. We welcome contributions (pull request, bug report, feature request, PR review) from all levels of users. All commits must be submitted via pull request on a branch. Please refer to the GitHub documentation for details on how to do pull request."
},
{
"objectID": "concepts/glossary.html",
"href": "concepts/glossary.html",
Expand Down
4 changes: 4 additions & 0 deletions docs/why.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@
<span class="menu-text">Getting started</span>
</a>
<ul class="dropdown-menu" aria-labelledby="nav-menu-getting-started">
<li>
<a class="dropdown-item" href="./install.html" rel="" target="">
<span class="dropdown-text">Installation</span></a>
</li>
</ul>
</li>
<li class="nav-item dropdown ">
Expand Down

0 comments on commit 17f39fc

Please sign in to comment.