Skip to content

Commit

Permalink
Merge pull request #92 from andrearaithel/OHT
Browse files Browse the repository at this point in the history
Optimal Hard Thresholding to determine optimal encoding dimension
  • Loading branch information
vyepez88 authored Feb 18, 2025
2 parents ee6f279 + 4677c51 commit 43c7935
Show file tree
Hide file tree
Showing 16 changed files with 445 additions and 214 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/check-bioc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ jobs:
matrix:
config:
# This needs to be updated after each Bioconductor release. Please make sure we have the matching R and Bioc versions in it.
- { os: ubuntu-latest, r: '4.3', bioc: '3.18', cont: "bioconductor/bioconductor_docker:RELEASE_3_18", rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest" }
- { os: ubuntu-latest, r: 'next', bioc: '3.19', cont: "bioconductor/bioconductor_docker:devel", rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest" }
- { os: macOS-latest, r: '4.3', bioc: '3.18'}
- { os: windows-latest, r: '4.3', bioc: '3.18'}
- { os: ubuntu-latest, r: '4.4', bioc: '3.20', cont: "bioconductor/bioconductor_docker:RELEASE_3_20", rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest" }
- { os: ubuntu-latest, r: 'next', bioc: '3.21', cont: "bioconductor/bioconductor_docker:devel", rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest" }
- { os: macOS-latest, r: '4.4', bioc: '3.20'}
- { os: windows-latest, r: '4.4', bioc: '3.20'}
## Check https://github.com/r-lib/actions/tree/master/examples
## for examples using the http-user-agent
env:
Expand All @@ -81,7 +81,7 @@ jobs:
## https://github.com/r-lib/actions/blob/master/examples/check-standard.yaml
## If they update their steps, we will also need to update ours.
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

## R is already included in the Bioconductor docker images
- name: Setup R from r-lib
Expand Down
4 changes: 3 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ Imports:
tibble,
tools,
utils,
VGAM
VGAM,
RMTstat,
pracma
Suggests:
magick,
BiocStyle,
Expand Down
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export(createTestFraserSettings)
export(currentType)
export(deltaPsiValue)
export(dontWriteHDF5)
export(estimateBestQ)
export(featureExclusionMask)
export(filterExpression)
export(filterExpressionAndVariability)
Expand All @@ -62,7 +63,6 @@ export(mergeCounts)
export(mergeExternalData)
export(name)
export(nonSplicedReads)
export(optimHyperParams)
export(pVals)
export(padjVals)
export(pairedEnd)
Expand Down
2 changes: 1 addition & 1 deletion R/Fraser-pipeline.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#'
#' @inheritParams countRNA
#' @param q The encoding dimensions to be used during the fitting proceadure.
#' Should be fitted using \code{\link{optimHyperParams}} if unknown.
#' Should be fitted using \code{\link{estimateBestQ}} if unknown.
#' If a named vector is provided it is used for the different
#' splicing types.
#' @param implementation The method that should be used to correct for
Expand Down
Loading

0 comments on commit 43c7935

Please sign in to comment.