Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
noriakis committed Sep 28, 2023
2 parents 2cb72e8 + 5e7a171 commit c6dc5ee
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 163 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ RoxygenNote: 7.2.3
biocViews: Pathways, DataImport, KEGG
VignetteBuilder: knitr
URL: https://github.com/noriakis/ggkegg
BugReport: https://github.com/noriakis/ggkegg/issues
BugReports: https://github.com/noriakis/ggkegg/issues
Config/testthat/edition: 3
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ S3method(ggplot_add,overlay_raw_map)
export(append_cp)
export(append_label_position)
export(assign_deseq2)
export(carrow)
export(combine_with_bnlearn)
export(convert_id)
export(create_test_module)
Expand Down Expand Up @@ -36,7 +37,6 @@ export(node_matrix)
export(node_numeric)
export(obtain_sequential_module_definition)
export(overlay_raw_map)
export(parseMetaCycPathwayReactions)
export(pathway)
export(pathway_abundance)
export(pathway_info)
Expand Down
44 changes: 0 additions & 44 deletions R/drug_functions.R

This file was deleted.

86 changes: 0 additions & 86 deletions R/metacyc_function.R

This file was deleted.

2 changes: 1 addition & 1 deletion R/network_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ network_graph <- function (kne, type="definition") {
paste0(vs[,1],"_",nn,"_",kne@ID) ,vs[,1])
vs <- do.call(rbind, lapply(vs[,1], function(j) {
c(j,bln,"in_block")
}))
})) |> data.frame() |> `colnames<-`(c("from","to","type"))
list(rbind(es, vs), nn)
}
})
Expand Down
13 changes: 12 additions & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,18 @@ obtain_map_and_cache <- function(org, pid=NULL, colon=TRUE) {
convert_vec
}


#' carrow
#'
#' make closed type arrow
#' @param length arrow length in unit()
#' @export
#' @examples
#' carrow()
#' @return arrow()
#'
carrow <- function(length=unit(2,"mm")) {
arrow(length=length, type="closed")
}

#' combine_with_bnlearn
#'
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ The detailed documentation is

## Installation

Using `BiocManager`:

``` r
BiocManager::install("ggkegg")
```
Using `devtools`:

``` r
devtools::install_github("noriakis/ggkegg")
```
Expand Down
20 changes: 20 additions & 0 deletions man/carrow.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 0 additions & 29 deletions man/parseMetaCycPathwayReactions.Rd

This file was deleted.

0 comments on commit c6dc5ee

Please sign in to comment.