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) }