Skip to content

Commit

Permalink
Merge pull request #8 from rformassspectrometry/phili
Browse files Browse the repository at this point in the history
saving and loading of objects
  • Loading branch information
philouail authored Oct 30, 2024
2 parents b8a51ba + d62b8d2 commit c517a01
Show file tree
Hide file tree
Showing 64 changed files with 300 additions and 351 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ local_data
*.o
*.so
/.quarto/
vignettes/.quarto/
/_site/
*.html
*.RData
*.rmarkdown
*.js
*.css
vignettes/objects/
man/figures
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: metabonaut
Title: Exploring and Analyzing LC-MS Data
Version: 0.0.3
Version: 0.0.4
Authors@R:
c(person(given = "Philippine", family = "Louail",
email = "[email protected]",
Expand Down Expand Up @@ -32,6 +32,7 @@ Depends:
R (>= 4.3),
BiocParallel (>= 1.8.0)
Suggests:
alabaster.se,
MsCoreUtils,
xcms (>= 4.3.4),
Spectra (>= 1.11.10),
Expand Down
14 changes: 13 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
# metabonaut 0.0
# metabonaut 0.0.4

## Changes in 0.0.4
- Required *alabaster.se*.
- In the end-to-end vignette:
- Removal of Spectra data in depth visualisation to
move to the Data investigation vignette
- Removal of internal standard matching to features
in the Normalization part.
- Save an load *lcms1* and *res* object from the end-to-end workflow
to be used in the Seamless Alignment vignette. Using *MsIO* and
*alabaster.se*


## Changes in 0.0.3
- Require *xcms* version 4.3.4 and install the package from github.
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@


## Let's explore and learn to analyze untargeted metabolomics data
# Let's explore and learn to analyze untargeted metabolomics data

[![License: CC BY-NC 4.0](https://img.shields.io/badge/License-CC%20BY--NC%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc/4.0/)

![metabonaut](man/figures/sitcker_small.png)

Welcome to **Metabonaut**! :astronaut:

This initiative presents a series of workflows based on a small LC-MS/MS dataset,
Expand Down
10 changes: 10 additions & 0 deletions inst/extdata/preprocessed_lcms1/OBJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"spectra": {
"version": "1.0"
},
"type": "xcms_experiment",
"xcms_experiment": {
"version": "1.0"
}
}

7 changes: 7 additions & 0 deletions inst/extdata/preprocessed_lcms1/chrom_peak_data/OBJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"data_frame": {
"version": "1.0"
},
"type": "data_frame"
}

Binary file not shown.
7 changes: 7 additions & 0 deletions inst/extdata/preprocessed_lcms1/chrom_peaks/OBJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"dense_array": {
"version": "1.0"
},
"type": "dense_array"
}

Binary file not shown.
7 changes: 7 additions & 0 deletions inst/extdata/preprocessed_lcms1/experiment_files/OBJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"spectra": {
"version": "1.0"
},
"type": "ms_experiment_files"
}

8 changes: 8 additions & 0 deletions inst/extdata/preprocessed_lcms1/experiment_files/x/OBJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"simple_list": {
"version": "1.0",
"format": "json.gz"
},
"type": "simple_list"
}

Binary file not shown.
7 changes: 7 additions & 0 deletions inst/extdata/preprocessed_lcms1/feature_definitions/OBJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"data_frame": {
"version": "1.0"
},
"type": "data_frame"
}

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"simple_list": {
"version": "1.0",
"format": "json.gz"
},
"type": "simple_list"
}

Binary file not shown.
8 changes: 8 additions & 0 deletions inst/extdata/preprocessed_lcms1/metadata/OBJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"simple_list": {
"version": "1.0",
"format": "json.gz"
},
"type": "simple_list"
}

Binary file not shown.
8 changes: 8 additions & 0 deletions inst/extdata/preprocessed_lcms1/other_data/OBJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"simple_list": {
"version": "1.0",
"format": "json.gz"
},
"type": "simple_list"
}

Binary file not shown.
7 changes: 7 additions & 0 deletions inst/extdata/preprocessed_lcms1/sample_data/OBJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"data_frame": {
"version": "1.0"
},
"type": "data_frame"
}

Binary file not shown.
8 changes: 8 additions & 0 deletions inst/extdata/preprocessed_lcms1/sample_data_links/OBJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"simple_list": {
"version": "1.0",
"format": "json.gz"
},
"type": "simple_list"
}

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"dense_array": {
"version": "1.0"
},
"type": "dense_array"
}

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"data_frame": {
"version": "1.0"
},
"type": "data_frame"
}

Binary file not shown.
7 changes: 7 additions & 0 deletions inst/extdata/preprocessed_lcms1/spectra/OBJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"spectra": {
"version": "1.0"
},
"type": "spectra"
}

7 changes: 7 additions & 0 deletions inst/extdata/preprocessed_lcms1/spectra/backend/OBJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ms_backend_metabo_lights": {
"version": "1.0"
},
"type": "ms_backend_metabo_lights"
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"atomic_vector": {
"version": "1.0"
},
"type": "atomic_vector"
}

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"data_frame": {
"version": "1.0"
},
"type": "data_frame"
}

Binary file not shown.
8 changes: 8 additions & 0 deletions inst/extdata/preprocessed_lcms1/spectra/metadata/OBJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"simple_list": {
"version": "1.0",
"format": "json.gz"
},
"type": "simple_list"
}

Binary file not shown.
7 changes: 7 additions & 0 deletions inst/extdata/preprocessed_lcms1/spectra/processing/OBJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"atomic_vector": {
"version": "1.0"
},
"type": "atomic_vector"
}

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"atomic_vector": {
"version": "1.0"
},
"type": "atomic_vector"
}

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"atomic_vector": {
"version": "1.0"
},
"type": "atomic_vector"
}

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
["{\"type\":\"list\",\"attributes\":{},\"value\":[]}"]

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions inst/extdata/preprocessed_res/OBJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"summarized_experiment": {
"version": "1.0",
"dimensions": [
9068,
10
]
},
"type": "summarized_experiment"
}

7 changes: 7 additions & 0 deletions inst/extdata/preprocessed_res/assays/0/OBJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"dense_array": {
"version": "1.0"
},
"type": "dense_array"
}

Binary file added inst/extdata/preprocessed_res/assays/0/array.h5
Binary file not shown.
7 changes: 7 additions & 0 deletions inst/extdata/preprocessed_res/assays/1/OBJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"dense_array": {
"version": "1.0"
},
"type": "dense_array"
}

Binary file added inst/extdata/preprocessed_res/assays/1/array.h5
Binary file not shown.
1 change: 1 addition & 0 deletions inst/extdata/preprocessed_res/assays/names.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
["raw","raw_filled"]
7 changes: 7 additions & 0 deletions inst/extdata/preprocessed_res/column_data/OBJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"data_frame": {
"version": "1.0"
},
"type": "data_frame"
}

Binary file not shown.
7 changes: 7 additions & 0 deletions inst/extdata/preprocessed_res/row_data/OBJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"data_frame": {
"version": "1.0"
},
"type": "data_frame"
}

Binary file not shown.
Binary file added pkgdown/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/favicon-48x48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/favicon.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions pkgdown/favicon/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions pkgdown/favicon/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
Binary file added pkgdown/favicon/web-app-manifest-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/web-app-manifest-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c517a01

Please sign in to comment.