From 85f4703c2aefafc33465589348d5a3ea851e3809 Mon Sep 17 00:00:00 2001 From: Kelly Sovacool Date: Thu, 21 Dec 2023 22:34:53 -0500 Subject: [PATCH] feat: improve examples for filter_low_counts() --- R/filter_low_counts.R | 3 ++- man/filter_low_counts.Rd | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/R/filter_low_counts.R b/R/filter_low_counts.R index 357f8bd..4f9494c 100644 --- a/R/filter_low_counts.R +++ b/R/filter_low_counts.R @@ -7,7 +7,8 @@ #' @export #' #' @examples -#' filter_low_counts(gene_counts) +#' filter_low_counts(gene_counts) %>% head() +#' filter_low_counts(gene_counts, min_counts = 100) filter_low_counts <- function( counts_dat, min_counts = 0) { diff --git a/man/filter_low_counts.Rd b/man/filter_low_counts.Rd index ffcff2a..47386fc 100644 --- a/man/filter_low_counts.Rd +++ b/man/filter_low_counts.Rd @@ -18,5 +18,6 @@ filtered counts dataframe filter_low_counts } \examples{ -filter_low_counts(gene_counts) +filter_low_counts(gene_counts) \%>\% head() +filter_low_counts(gene_counts, min_counts = 100) }