Skip to content

Commit

Permalink
adds runnable examples, adds news, adds description text
Browse files Browse the repository at this point in the history
  • Loading branch information
metamaden committed Sep 26, 2023
1 parent 3089c8c commit c7e94c9
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Title: Framework for cell size scale factor normalized bulk transcriptomics deco
Authors@R: c(person(c("Sean", "K"), "Maden", role = c("cre", "aut"),
email = "maden.sean@gmail.com", comment = c(ORCID = "0000-0002-2212-4894")),
person("Stephanie", "Hicks", role = "aut", email = "shicks19@gmail.com", comment = c(ORCID = "0000-0002-7858-0231")))
Description: Resources for deconvolution experiments and standard application of cell size scale factor normalizations. Includes specific object classes and extensible generics for deconvolution and cell type marker selection algorithms.
Description: Provides a framework for adjustment on cell type size when performing bulk transcripomics deconvolution. The main framework function provides a means of reference normalization using cell size scale factors. It allows for marker selection and deconvolution using non-negative least squares (NNLS) by default. The framework is extensible for other marker selection and deconvolution algorithms, and users may reuse the generics, methods, and classes for these when developing new algorithms.
License: Artistic-2.0
Encoding: UTF-8
URL: https://github.com/metamaden/lute
Expand Down Expand Up @@ -39,7 +39,7 @@ Suggests:
DelayedArray
VignetteBuilder:
knitr
biocViews: RNASeq, Sequencing, SingleCell, Coverage
biocViews: RNASeq, Sequencing, SingleCell, Coverage, Transcriptomics
RoxygenNote: 7.2.3
Collate:
'lute_generics.R'
Expand Down
8 changes: 8 additions & 0 deletions NEWS.Rd
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
\name{NEWS}
\title{News for Package \pkg{lute}}

\section{Changes in version 0.99.0, Bioconductor 3.18 Release}{
\itemize{
\item Add \pkg{testthat} unit tests.
}
}
14 changes: 14 additions & 0 deletions R/findmarkersParam-class.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ setClass("findmarkersParam", contains="typemarkersParam",
#' @details Main class for mapping arguments to the findMarkers method
#' implemented as \code{scran::findMarkers()}.
#'
#' @examples
#' lexample <- get_decon_example_data()
#' sce.example <- random_sce()
#' new.param <- findmarkersParam(sce = sce.example,
#' celltype.variable = "celltype", markers.per.type = 5)
#' markers <- typemarkers(new.param)
#'
#' @export
findmarkersParam <- function(sce, assay.name = "counts",
celltype.variable = "cellType",
Expand All @@ -79,6 +86,13 @@ findmarkersParam <- function(sce, assay.name = "counts",
#'
#' @importFrom scran findMarkers
#' @importFrom dplyr %>%
#'
#' @examples
#' lexample <- get_decon_example_data()
#' sce.example <- random_sce()
#' new.param <- findmarkersParam(sce = sce.example,
#' celltype.variable = "celltype", markers.per.type = 5)
#' markers <- typemarkers(new.param)
#'
#' @returns Returns the top available markers, with type-specific marker filters,
#' as either a vector of marker IDs or a results list.
Expand Down
3 changes: 3 additions & 0 deletions R/lute_metadata.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
#'
#' @importFrom utils read.csv
#'
#' @examples
#' lute_supported_deconvolution_algorithms()
#'
#' @export
lute_supported_deconvolution_algorithms <- function(){
csv.name <- "lute-deconvolution_transfer-learning-table.csv"
Expand Down
8 changes: 8 additions & 0 deletions man/findmarkersParam.Rd

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

4 changes: 4 additions & 0 deletions man/lute_supported_deconvolution_algorithms.Rd

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

8 changes: 8 additions & 0 deletions man/typemarkers-findmarkersParam-method.Rd

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

0 comments on commit c7e94c9

Please sign in to comment.