-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* some doc changes * let's start * Update plot_cpdb.R * start to simplify * Update test_cpdbplot1.R * Update plot_cpdb.R * Update utils.R * Update plot_cpdb.R tidy it up * Update plot_cpdb.R * Update plot_cpdb.R * Update misc.R * Update plot_cpdb.R * Update test_cpdbplot1.R * Update utils.R * change name * Update plot_cpdb.R * Update utils.R * Update plot_cpdb.R * ok let's mark it for now * hmm * Update plot_cpdb.R * Update plot_cpdb.R * Update utils.R * Update plot_cpdb.Rd * almost there. just plot_cpdb2 now * add vignette and fix functions * Update vignette.yml * fix bug * Update vignette.rmd * update readme * update options * add v5 compatibility * rename file * Update cpdb_output_v5.RData * hmm * Update plot_cpdb.R * Update cpdb_output_v5.RData * hmm * Update vignette_v5.rmd * Update cpdb_output_v5.RData * Update kidneyimmune.Rd * Update utils.R * Update plot_cpdb.R * Update plot_cpdb.R * make it look nicer * Update plot_cpdb.R * Update plot_cpdb.R * Update plot_cpdb.R * ooh the squish * Update vignette_v5.rmd * Update vignette_v5.rmd * update figure size and legend scale. * Update plot_cpdb.R * ok * Update codecov.yml * Update test_cpdbplot1.R * Update DESCRIPTION * ok make this work? * Update utils.R * Update plot_cpdb.R * Update plot_cpdb.R * Update utils.R * Update plot_cpdb.R * Update plot_cpdb.R * Update plot_cpdb.R * Update plot_cpdb.R * Update vignette_v5.rmd * Update vignette_v5.rmd * Update vignette_v5.rmd * update readme * Update vignette_v5.rmd * Update plot_cpdb.R
- Loading branch information
Showing
32 changed files
with
3,206 additions
and
2,421 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
on: | ||
push: | ||
branches: | ||
- "master" | ||
pull_request: | ||
branches: | ||
- "*" | ||
|
||
name: vignette | ||
|
||
jobs: | ||
vignette: | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
strategy: | ||
matrix: | ||
config: | ||
- { os: macos-latest } | ||
runs-on: ${{ matrix.config.os }} | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
id: install-r | ||
|
||
- uses: r-lib/actions/setup-pandoc@v2 | ||
|
||
- id: bioc | ||
name: Check bioc version | ||
run: | | ||
echo "##[set-output name=mainbiocversion;]$(Rscript -e 'cat(unlist(tools:::.BioC_version_associated_with_R_version()))' | awk '{print $1}')" | ||
echo "##[set-output name=subbiocversion;]$(Rscript -e 'cat(unlist(tools:::.BioC_version_associated_with_R_version()))' | awk '{print $2}')" | ||
echo "##[set-output name=biocversion;]$(Rscript -e 'cat(as.character(tools:::.BioC_version_associated_with_R_version()))' | awk '{print $1}')" | ||
shell: bash -l {0} | ||
|
||
- name: Install pak and query dependencies | ||
run: | | ||
install.packages("pak", repos = "https://r-lib.github.io/p/pak/dev/") | ||
saveRDS(pak::pkg_deps("local::.", dependencies = TRUE), ".github/r-depends.rds") | ||
shell: Rscript {0} | ||
|
||
- name: Cache R packages | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
${{ env.R_LIBS_USER }} | ||
!${{ env.R_LIBS_USER }}/pak | ||
key: ${{ env.cache-version }}-${{ matrix.config.os }}-biocversion-RELEASE_${{ steps.bioc.outputs.mainbiocversion}}_${{ steps.bioc.outputs.subbiocversion}}-r-${{ matrix.config.r-version}}-${{ hashFiles('.github/depends.Rds') }} | ||
restore-keys: ${{ env.cache-version }}-${{ matrix.config.os }}-biocversion-RELEASE_${{ steps.bioc.outputs.mainbiocversion}}_${{ steps.bioc.outputs.subbiocversion}}-r-${{ matrix.config.r-version}}- | ||
|
||
- name: Install dependencies | ||
run: | | ||
pak::local_install_dev_deps(upgrade = TRUE, dependencies = c("all", "Config/Needs/website")) | ||
pak::pkg_install("pkgdown") | ||
shell: Rscript {0} | ||
|
||
- name: Install package | ||
run: R CMD INSTALL . | ||
|
||
- name: Build and deploy pkgdown site | ||
run: | | ||
git config --local user.name "$GITHUB_ACTOR" | ||
git config --local user.email "[email protected]" | ||
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)' | ||
shell: bash -l {0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,33 @@ | ||
Package: ktplots | ||
Title: Plot single-cell data dotplots | ||
Version: 1.2.5 | ||
Version: 2.0.0 | ||
Authors@R: person("Kelvin", "Tuong", email = c("[email protected]"), role = c("aut", "cre")) | ||
Description: Plotting tools for scData. | ||
License: MIT | ||
License: MIT + file LICENSE | ||
Encoding: UTF-8 | ||
biocViews: | ||
Imports: | ||
devtools, | ||
Matrix, | ||
dplyr, | ||
ggplot2, | ||
ggraph, | ||
ggrepel, | ||
reshape2, | ||
viridis, | ||
gtools, | ||
RColorBrewer, | ||
purrr, | ||
circlize, | ||
ComplexHeatmap, | ||
pheatmap | ||
devtools, | ||
Matrix, | ||
dplyr, | ||
ggplot2, | ||
ggraph, | ||
ggrepel, | ||
reshape2, | ||
viridis, | ||
gtools, | ||
RColorBrewer, | ||
purrr, | ||
circlize, | ||
ComplexHeatmap, | ||
pheatmap | ||
Suggests: | ||
SummarizedExperiment, | ||
SingleCellExperiment, | ||
scater, | ||
testthat, | ||
covr, | ||
plyr | ||
Depends: | ||
ggplot2 | ||
LazyData: true | ||
RoxygenNote: 7.2.3 | ||
Collate: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.