Skip to content

Commit

Permalink
website updates
Browse files Browse the repository at this point in the history
  • Loading branch information
cyianor committed Apr 16, 2024
1 parent 07cb791 commit ec95e5e
Show file tree
Hide file tree
Showing 9 changed files with 84 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ datasets
scripts
LICENSE\.md
compile_flags.txt
^man/figures
.RData$
^vignettes/pbmc_cache
^vignettes/pbmc_files
Expand All @@ -13,4 +12,5 @@ compile_flags.txt
^_pkgdown\.yml$
^docs$
^pkgdown$
^index\.md$
^index\.md$
^\.github$
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
48 changes: 48 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
release:
types: [published]
workflow_dispatch:

name: pkgdown

jobs:
pkgdown:
runs-on: ubuntu-latest
# Only restrict concurrency for non-PR jobs
concurrency:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
with:
clean: false
branch: gh-pages
folder: docs
2 changes: 2 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
License: GPL (>= 3)
Config/testthat/edition: 3
URL: https://scmethods.github.io/scregclust/, https://github.com/scmethods/scregclust/
BugReports: https://github.com/scmethods/scregclust/issues
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@

The goal of *scregclust* is to cluster genes by regulatory programs. To do so, clusters are associated with regulatory programs and target genes are allocated to clusters with best fitting regulatory programs.

- The documentation for this package can be found at [https://sven-nelander.github.io/scregclust](https://sven-nelander.github.io/scregclust)
- The documentation for this package can be found at [https://scmethods.github.io/scregclust](https://scmethods.github.io/scregclust)
- A detailed description of the algorithm and an in-depth evaluation of its properties can be found in our [pre-print on bioRxiv](https://doi.org/10.1101/2023.03.10.532041 "Reconstructing the regulatory programs underlying the phenotypic plasticity of neural cancers"){.uri}.

## Installation

You can install the development version of *scregclust* from [GitHub](https://github.com/sven-nelander/scregclust) with:
You can install the development version of *scregclust* from [GitHub](https://github.com/scmethods/scregclust) with:

```r
# install.packages("devtools")
devtools::install_github("sven-nelander/scregclust")
devtools::install_github("scmethods/scregclust")
```
27 changes: 17 additions & 10 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,38 @@
url: ~
url: https://scmethods.github.io/scregclust/
template:
bootstrap: 5
navbar:
structure:
components:
articles:
text: Vignettes
menu:
- text: Demonstration of workflow
href: articles/pbmc.html
reference:
- title: "Setting up and performing clustering"
desc: >
Functions to prepare the input data and to perform single-cell
regulatory-driven clustering.
- title: Setting up and performing clustering
desc: |
Functions to prepare the input data and to perform single-cell regulatory-driven clustering.
contents:
- scregclust_format
- scregclust
- title: "Plotting and evaluation"
desc: >
- title: Plotting and evaluation
desc: |
Functions which help in plotting and evaluating results.
contents:
- plot_cluster_count_helper
- plot_regulator_network
- plot_silhouettes
- title: "Utility functions"
desc: >
- title: Utility functions
desc: |
Functions that make accessing aspects of the results easier.
contents:
- get_target_clusters
- get_regulator_list
- get_rand_indices
- get_num_final_configs
- get_avg_num_regulators
- title: "Other helpers"
- title: Other helpers
contents:
- available_results
- cluster_overlap
Expand Down
6 changes: 4 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@

<!-- badges: end -->

![A diagram illustrating the *scregclust* algorithm.](man/figures/overview_fig1A_bg.png "Illustration of the scregclust algorithm")
![](overview_fig1A_bg.png)

The goal of *scregclust* is to cluster genes by regulatory programs. To do so, clusters are associated with regulatory programs and target genes are allocated to clusters with best fitting regulatory programs.
## Introduction

The goal of *scregclust* is to cluster genes by regulatory programs. To do so, clusters are associated with regulators and target genes are allocated to clusters with best fitting regulatory programs.

A detailed description of the algorithm and an in-depth evaluation of its properties can be found in our pre-print on bioRxiv: [DOI 10.1101/2023.03.10.532041](https://doi.org/10.1101/2023.03.10.532041 "Reconstructing the regulatory programs underlying the phenotypic plasticity of neural cancers")
7 changes: 7 additions & 0 deletions man/scregclust-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added pkgdown/assets/overview_fig1A_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ec95e5e

Please sign in to comment.