Skip to content

Commit 9655978

Browse files
bschilderclaude
andcommitted
Fix Rd \usage WARNING and NSE global variable NOTEs
- Remove stray @param A/B from test_enrichment (not in function signature) - Add Cell_type/Assay bindings to suppress NSE global variable NOTEs - Fix NOTT2019_get_interactions: use seqnames as chrom_col in dt_to_granges Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 773bb46 commit 9655978

4 files changed

Lines changed: 5 additions & 17 deletions

File tree

R/XGR_plot_enrichment.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ XGR_plot_enrichment <- function(enrich_res,
2020
show_plot = TRUE) {
2121

2222
requireNamespace("ggplot2")
23-
fc <- adjp <- assay <- NULL;
23+
fc <- adjp <- assay <- Cell_type <- Assay <- NULL;
2424
enrich_res <- dplyr::arrange(enrich_res, dplyr::desc(fc))
2525
enrich_res$source <- factor(enrich_res$source,
2626
unique(enrich_res$source),

R/initialize_plac_seq_plot.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ initialize_plac_seq_plot <- function(interact.DT,
66
strip.text.y.angle,
77
verbose = TRUE){
88
requireNamespace("ggplot2")
9-
messager("Initializing PLAC-seq plot.",v=verbose)
9+
Cell_type <- NULL;
10+
messager("Initializing PLAC-seq plot.",v=verbose)
1011
if (highlight_plac) {
1112
##### Method 1 #####
1213
### Apply alpha based on consensus SNP overlap

R/test_enrichment.R

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@
2323
#' @param verbose Print messages.
2424
#' @param save_path Path to save results to as an \emph{RDS} file.
2525
#' Set to \code{NULL} to skip this step.
26-
#' @param A A region set in any of the accepted formats by
27-
#' \code{\link[regioneR]{toGRanges}}
28-
#' (\link[GenomicRanges]{GRanges}, \code{data.frame}, etc.).
29-
#' @param B A region set in any of the accepted formats by
30-
#' \code{\link[regioneR]{toGRanges}}
31-
#' (\link[GenomicRanges]{GRanges}, \code{data.frame}, etc.).
3226
#' @inheritDotParams regioneR::overlapPermTest
3327
#' @inheritParams regioneR::permTest
3428
#' @source \href{https://www.bioconductor.org/packages/devel/bioc/vignettes/regioneR/inst/doc/regioneR.html}{

man/test_enrichment.Rd

Lines changed: 2 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)