Skip to contents

One Ring to rule them all.The Lord of the Rings

Be overwhelmed by the complexity of glycoverse?

Imagine a package, performing all analysis you need, PCA, DEA, enrichment, or even advanced glycan derived trait analysis, in just one line of code.

Try glysmith! Perform the comprehensive analysis pipeline with one function call.

https://github.com/user-attachments/assets/d1eede5f-f919-428b-a5e8-574a8ab6f863

Installation

You can install the development version of glysmith from GitHub with:

# install.packages("pak")
pak::pak("glycoverse/glysmith")

Example

library(glyread)
library(glysmith)

exp <- read_pglyco3("pglyco3_result.txt", sample_info = "sample_info.csv")

# One line of code for the comprehensive analysis pipeline
result <- forge_analysis(exp)

# One line of code to save the results
quench_result(result, "path/to/save")

# One line of code to generate a report
polish_report(result, "report.html")

After running the above quench_result line, you will get an organized result folder:

And after running the above polish_report line, you will get a report in HTML format and automatically open it in your default browser:

Note: Here we set use_ai to TRUE to enable LLM-assisted report generation.