diff --git a/DESCRIPTION b/DESCRIPTION index e913897b..fde45585 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -30,7 +30,7 @@ LazyData: true URL: https://github.com/MSKCC-Epi-Bio/gnomeR, https://mskcc-epi-bio.github.io/gnomeR/ BugReports: https://github.com/MSKCC-Epi-Bio/gnomeR/issues -RoxygenNote: 7.2.3 +RoxygenNote: 7.3.2 Depends: R (>= 3.6) biocViews: ComplexHeatmap, diff --git a/man/subset_by_frequency.Rd b/man/subset_by_frequency.Rd index ddf692f2..2249ba81 100644 --- a/man/subset_by_frequency.Rd +++ b/man/subset_by_frequency.Rd @@ -4,7 +4,7 @@ \alias{subset_by_frequency} \title{Subset a Binary Matrix By Alteration Frequency Threshold} \usage{ -subset_by_frequency(gene_binary, t = 0.1, other_vars = NULL) +subset_by_frequency(gene_binary, t = 0.1, other_vars = NULL, by = NULL) } \arguments{ \item{gene_binary}{A data frame with a row for each sample and column for each @@ -15,6 +15,8 @@ with values of 0, 1 or NA.} \item{other_vars}{One or more column names (quoted or unquoted) in data to be retained in resulting data frame. Default is NULL.} + +\item{by}{Variable used to subset the data. Default is NULL.} } \value{ a data frame with a \code{sample_id} column and columns for diff --git a/tests/testthat/Rplots.pdf b/tests/testthat/Rplots.pdf index f1296147..7c5c2e20 100644 Binary files a/tests/testthat/Rplots.pdf and b/tests/testthat/Rplots.pdf differ