Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
0e55051
adjust to Bioc coding style
tnaake Mar 13, 2025
88dade0
Update NAMESPACE
tnaake Mar 14, 2025
359c820
adapt to BiocStyle
tnaake Mar 15, 2025
5e6b200
update to BioC style
tnaake Mar 16, 2025
f117b16
adjust to Bioc style
tnaake Mar 17, 2025
c8ec8c5
adjust to Bioc style
tnaake Mar 18, 2025
21ba99c
adjust to Bioc style
tnaake Mar 18, 2025
d84c9e3
adjust to Bioc style
tnaake Mar 18, 2025
dd897e8
adjust to Bioc style
tnaake Mar 18, 2025
8be7c7e
adjust to Bioc style
tnaake Mar 18, 2025
813d0be
adjust to Bioc style
tnaake Mar 18, 2025
19c2313
adjust to Bioc style
tnaake Mar 18, 2025
75f16ae
adjust to Bioc style
tnaake Mar 18, 2025
e3658a3
adjust to Bioc style
tnaake Mar 18, 2025
40664ef
adjust to Bioc style
tnaake Mar 18, 2025
f8e3bbd
adjust to Bioc style
tnaake Mar 18, 2025
84db9eb
adjust to Bioc style
tnaake Mar 18, 2025
30880bf
adjust to Bioc style
tnaake Mar 18, 2025
5d8ef6e
adjust to Bioc style
tnaake Mar 18, 2025
69472ce
adjust to Bioc style
tnaake Mar 18, 2025
05c73e9
Update DifferentialMetaboliteAnalysis.R
tnaake Mar 18, 2025
93f928c
Update GetPriorKnoweldge.R
tnaake Mar 18, 2025
c3e776a
Update Processing.R
tnaake Mar 18, 2025
20bbf69
Update RefactorPriorKnoweldge.R
tnaake Mar 18, 2025
0c109ff
Update Standard Metabolomics.Rmd
tnaake Mar 18, 2025
83ad638
implement SE for Processing.R
tnaake Mar 20, 2025
8e1cdde
update manual
tnaake Mar 20, 2025
fec217b
Update NAMESPACE
tnaake Mar 20, 2025
13001b7
update Rd documentation
tnaake Mar 20, 2025
f05c020
add SummarizedExperiment to fct
tnaake Mar 25, 2025
f7508ad
add SummarizedExperiment to fct
tnaake Mar 25, 2025
67a53da
add SummarizedExperiment to fct
tnaake Mar 25, 2025
d56f49b
add SummarizedExperiment to fct
tnaake Mar 25, 2025
11526d4
add SummarizedExperiment to fct
tnaake Mar 25, 2025
1b71793
add SummarizedExperiment to fct
tnaake Mar 25, 2025
da3e7d8
add SummarizedExperiment to fct
tnaake Mar 25, 2025
17f6ebf
add SummarizedExperiment to fct
tnaake Mar 25, 2025
404d52e
add SummarizedExperiment to fct
tnaake Mar 25, 2025
5b63034
add SummarizedExperiment to fct
tnaake Mar 25, 2025
ca16981
adjust to SummarizedExperiment object
tnaake Mar 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9,040 changes: 9,040 additions & 0 deletions MetaProViz_Results/Heatmap/Heatmap__Heatmap__2025-03-26.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ export(metaproviz_config_path)
export(metaproviz_load_config)
export(metaproviz_reset_config)
export(metaproviz_save_config)
import(ggfortify)
importFrom(KEGGREST,keggGet)
importFrom(KEGGREST,keggList)
importFrom(MatrixGenerics,rowMins)
importFrom(OmnipathR,ambiguity)
importFrom(OmnipathR,config_path)
importFrom(OmnipathR,id_types)
Expand All @@ -45,6 +47,7 @@ importFrom(OmnipathR,reset_config)
importFrom(OmnipathR,save_config)
importFrom(OmnipathR,set_loglevel)
importFrom(OmnipathR,translate_ids)
importFrom(S4Vectors,DataFrame)
importFrom(broom,tidy)
importFrom(dplyr,across)
importFrom(dplyr,arrange)
Expand Down Expand Up @@ -101,6 +104,7 @@ importFrom(ggplot2,scale_shape_manual)
importFrom(ggplot2,scale_x_continuous)
importFrom(ggplot2,scale_y_continuous)
importFrom(ggplot2,stat_summary)
importFrom(ggplot2,sym)
importFrom(ggplot2,theme)
importFrom(ggplot2,theme_bw)
importFrom(ggplot2,theme_classic)
Expand Down Expand Up @@ -157,6 +161,7 @@ importFrom(stats,bartlett.test)
importFrom(stats,kruskal.test)
importFrom(stats,lm)
importFrom(stats,p.adjust)
importFrom(stats,p.adjust.methods)
importFrom(stats,shapiro.test)
importFrom(stringr,str_match)
importFrom(stringr,str_remove)
Expand All @@ -169,6 +174,7 @@ importFrom(tibble,rownames_to_column)
importFrom(tidyr,pivot_longer)
importFrom(tidyr,replace_na)
importFrom(tidyr,separate)
importFrom(tidyr,separate_longer_delim)
importFrom(tidyr,separate_rows)
importFrom(tidyr,unite)
importFrom(tidyselect,all_of)
Expand Down
3,485 changes: 1,930 additions & 1,555 deletions R/DifferentialMetaboliteAnalysis.R

Large diffs are not rendered by default.

1,024 changes: 546 additions & 478 deletions R/GetPriorKnoweldge.R

Large diffs are not rendered by default.

1,807 changes: 988 additions & 819 deletions R/HelperChecks.R

Large diffs are not rendered by default.

44 changes: 23 additions & 21 deletions R/HelperLog.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
#'
#' @seealso \code{\link{metaproviz_log}}
MetaProViz_logfile <- function(){
#Creates the path for the log file
OmnipathR::logfile('MetaProViz')
## Creates the path for the log file
OmnipathR::logfile('MetaProViz')
}


Expand All @@ -56,8 +56,8 @@ MetaProViz_logfile <- function(){
#' @seealso \code{\link{metaproviz_logfile}}
#'
MetaProViz_log <- function(){
#Opens log file for browsing
OmnipathR::read_log('MetaProViz')
## opens log file for browsing
OmnipathR::read_log('MetaProViz')
}


Expand All @@ -82,34 +82,36 @@ MetaProViz_set_loglevel <- function(level, target = 'logfile'){
#'
#' @noRd
MPV_trace <- function() {#MPV=MetaProViz
# Useful for debugging
MetaProViz_set_loglevel('trace', target = 'console')
## Useful for debugging
MetaProViz_set_loglevel("trace", target = "console")
}

#' Set the console log level to "trace"
#'
#' @importFrom OmnipathR set_loglevel
#' @importFrom OmnipathR set_loglevel
#' @importFrom logger log_info
#' @importFrom utils packageVersion
#'
#' @noRd
#'
MetaProViz_Init <- function(){
# Only run the first time a MetaProViz function is used in an environment --> Creates log file
if(is.null(metaproviz.env$init)){
#Initial log
OmnipathR:::init_config(pkg = "MetaProViz")
OmnipathR:::init_log(pkg = "MetaProViz")
log_info('Welcome to MetaProViz!')
log_info('MetaProViz version: %s', packageVersion("MetaProViz"))

## only run the first time a MetaProViz function is used in an
## environment --> Creates log file
if (is.null(metaproviz.env$init)) {
## initial log
OmnipathR:::init_config(pkg = "MetaProViz")
OmnipathR:::init_log(pkg = "MetaProViz")
log_info("Welcome to MetaProViz!")
log_info("MetaProViz version: %s", packageVersion("MetaProViz"))

#Do we run in a build server like bioconductor?
buildserver <- OmnipathR:::.on_buildserver()
## Do we run in a build server like bioconductor?
buildserver <- OmnipathR:::.on_buildserver()

if(buildserver){
set_loglevel('trace', target = 'console', pkg = "MetaProViz")
}
if (buildserver) {
set_loglevel("trace", target = "console", pkg = "MetaProViz")
}

metaproviz.env$init <- TRUE
}
metaproviz.env$init <- TRUE
}
}
32 changes: 14 additions & 18 deletions R/HelperOptions.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

.metaproviz_options_defaults <- list(
metaproviz.loglevel = 'trace',
metaproviz.console_loglevel = 'success'
metaproviz.loglevel = "trace",
metaproviz.console_loglevel = "success"
)


Expand All @@ -28,13 +28,11 @@
#' @importFrom OmnipathR save_config
#' @export
metaproviz_save_config <- function(
path = NULL,
title = 'default',
local = FALSE
){

save_config(path = path, title = title, local = local, pkg = 'MetaProViz')
path = NULL,
title = "default",
local = FALSE) {

save_config(path = path, title = title, local = local, pkg = "MetaProViz")
}


Expand All @@ -61,20 +59,18 @@ metaproviz_save_config <- function(
#' @importFrom OmnipathR load_config
#' @export
metaproviz_load_config <- function(
path = NULL,
title = 'default',
user = FALSE,
...
){
path = NULL,
title = "default",
user = FALSE,
...) {

load_config(
path = path,
title = title,
user = user,
pkg = 'MetaProViz',
pkg = "MetaProViz",
...
)

}


Expand All @@ -100,7 +96,7 @@ metaproviz_load_config <- function(
#' @seealso \code{\link{metaproviz_load_config}, \link{metaproviz_save_config}}
metaproviz_reset_config <- function(save = NULL, reset_all = FALSE) {

reset_config(save = save, reset_all = reset_all, pkg = 'MetaProViz')
reset_config(save = save, reset_all = reset_all, pkg = "MetaProViz")

}

Expand All @@ -117,8 +113,8 @@ metaproviz_reset_config <- function(save = NULL, reset_all = FALSE) {
#'
#' @importFrom OmnipathR config_path
#' @export
metaproviz_config_path <- function(user = FALSE){
metaproviz_config_path <- function(user = FALSE) {

config_path(user = user, pkg = 'MetaProViz')
config_path(user = user, pkg = "MetaProViz")

}
Loading