Skip to content

Commit

Permalink
Update docs for AddMotifs; #1361
Browse files Browse the repository at this point in the history
  • Loading branch information
timoast committed Apr 24, 2023
1 parent 5e7153c commit ba3d135
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
6 changes: 5 additions & 1 deletion R/generics.R
Expand Up @@ -4,7 +4,10 @@
#' information and add it to an existing Seurat object or ChromatinAssay.
#' If running on a Seurat object, \code{AddMotifs} will also run
#' \code{\link{RegionStats}} to compute the GC content of each peak and store
#' the results in the feature metadata.
#' the results in the feature metadata. PFMs or PWMs are matched to the genome
#' sequence using the \code{\link[motifmatchr]{matchMotifs}} function with
#' default parameters to construct a matrix of motif positions in genomic
#' regions.
#'
#' @param object A Seurat object or ChromatinAssay object
#' @param ... Additional arguments passed to other methods
Expand All @@ -13,6 +16,7 @@
#' @return When running on a \code{ChromatinAssay} or \code{Seurat} object,
#' returns a modified version of the input object. When running on a matrix,
#' returns a \code{Motif} object.
#' @seealso \pkg{motifmatchr}
AddMotifs <- function(object, ...) {
UseMethod(generic = "AddMotifs", object = object)
}
Expand Down
8 changes: 7 additions & 1 deletion man/AddMotifs.Rd

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

0 comments on commit ba3d135

Please sign in to comment.