Skip to content

Commit

Permalink
fix dependency error
Browse files Browse the repository at this point in the history
  • Loading branch information
lpantano committed Apr 30, 2024
1 parent 3c3b779 commit d568504
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
5 changes: 2 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: isomiRs
Version: 1.31.2
Date: 2024-03-13
Date: 2024-04-30
Type: Package
Title: Analyze isomiRs and miRNAs from small RNA-seq
Description: Characterization of miRNAs and isomiRs, clustering and
Expand All @@ -17,11 +17,10 @@ Suggests:
BiocStyle,
testthat
Depends:
R (>= 4.0),
R (>= 4.4),
SummarizedExperiment
Imports:
AnnotationDbi,
assertive.sets,
BiocGenerics,
Biobase,
broom,
Expand Down
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import(GenomicRanges)
import(IRanges)
import(S4Vectors)
import(SummarizedExperiment)
import(assertive.sets)
import(cluster)
import(gtools)
import(methods)
Expand Down
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

Changes in version 1.31.2 (Ömer An)

* remove `assertive.sets`
* Add gitactions
* Add color to PCA plot by `isoTop` function
* Fix depreciated dplyr code
Expand Down
1 change: 0 additions & 1 deletion R/isomiRs-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#' @import GGally
#' @import gtools
#' @import Biobase
#' @import assertive.sets
#' @import cluster
#' @importFrom AnnotationDbi keys mget revmap
#' @importFrom reshape melt melt.array melt.data.frame melt.list
Expand Down
2 changes: 1 addition & 1 deletion R/targets.R
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ isoNetwork <- function(mirna_rse, gene_rse,
net <- res %>% separate_rows("geneID") %>%
.[,c("ID", "Description", "geneID")]
# browser()
if (!are_intersecting_sets(net[["geneID"]], names(gene_rse))){
if (length(intersect(net[["geneID"]], names(gene_rse))) == 0){
message("No matching genes between enrich and gene_rse.")
mapping <- .is_mapping_needed(names(gene_rse), net$geneID)
message(" Converting from ", mapping[[1]], " to ", mapping[[2]])
Expand Down

0 comments on commit d568504

Please sign in to comment.