Skip to content

Commit

Permalink
update splitAssays example to match TCGAsplitAssays
Browse files Browse the repository at this point in the history
  • Loading branch information
LiNk-NY committed Aug 11, 2023
1 parent befac2c commit 62b3478
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions R/MultiAssayExperiment-helpers.R
Expand Up @@ -838,14 +838,15 @@ setMethod("splitAssays", "MultiAssayExperiment",
#' @examples
#'
#' patts <- list(
#' normals = "TCGA-OR-[A-Z0-9]{4}-11",
#' tumors = "TCGA-OR-[A-Z0-9]{4}-01"
#' normals = "TCGA-[A-Z0-9]{2}-[A-Z0-9]{4}-11",
#' tumors = "TCGA-[A-Z0-9]{2}-[A-Z0-9]{4}-01"
#' )
#'
#' data("miniACC")
#'
#' hits <- makeHitList(miniACC, patts)
#'
#' ## only turmors present
#' splitAssays(miniACC, hits)
#'
#' @export
Expand Down
5 changes: 3 additions & 2 deletions man/MultiAssayExperiment-helpers.Rd

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

0 comments on commit 62b3478

Please sign in to comment.