Skip to content

Commit

Permalink
docs: demo filter_counts() in intro vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
kelly-sovacool committed Oct 8, 2024
1 parent eca42f5 commit 646fb01
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion vignettes/intro.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,14 @@ renee_ds <- create_reneeDataSet_from_files(
gene_counts_filepath = gene_counts_tsv
)
renee_ds@counts$raw %>% head()
renee_ds <- renee_ds %>% filter_counts(
group_column = "condition",
label_column = "sample_id",
columns_to_include = c("gene_id", "KO_S3", "KO_S4", "WT_S1", "WT_S2"),
minimum_count_value_to_be_considered_nonzero = 1,
minimum_number_of_samples_with_nonzero_counts_in_total = 1,
minimum_number_of_samples_with_nonzero_counts_in_a_group = 1,
)
renee_ds@counts$filt %>% head()
```

0 comments on commit 646fb01

Please sign in to comment.