Skip to content
glycoversePublic

About

Visualization for everything in `glycoverse`!

Topics

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

glyvis

Lifecycle: experimental R-universe version R-CMD-check Codecov test coverage

The goal of glyvis is to visualize everything in the glycoverse ecosystem. Visualization is an essential part of data analysis. Human beings are more sensitive to visual information than text and numbers. Plotting helps us to understand the data better. glyvis provides a unified interface for visualizing glycoverse data, including statistical results and experimental data. It implements the autoplot() method for various glycoverse data structures. Just autoplot() it!

Installation

Install glycoverse

We recommend installing the meta-package glycoverse, which includes this package and other core glycoverse packages.

Install glyvis alone

If you don’t want to install all glycoverse packages, you can only install glyvis.

You can install the latest release of glyvis from r-universe (recommended):

# install.packages("pak")
pak::repo_add(glycoverse = "https://glycoverse.r-universe.dev")
pak::pkg_install("glyvis")

Or from GitHub:

Install the latest releases of this package and its required Glycoverse dependencies together from GitHub:

pak::pkg_install(c(
  "glycoverse/glyrepr@*release",
  "glycoverse/glyexp@*release",
  "glycoverse/glyvis@*release"
))

Or install the development version (NOT recommended):

pak::pkg_install("glycoverse/glyvis")

Note: Tips and troubleshooting for the meta-package glycoverse are also applicable here: Installation of glycoverse.

Documentation

  • 🚀 Get started: Here
  • 📚 Reference: Here

Role in glycoverse

The main purpose of glyvis is to provide visualization for glystats results. It implements autoplot() methods for each result class in glystats, so that the users can visualize the results directly to get a quick overview. It also provides some other visualization functions for glycoverse data structures, such as glyexp::GlycomicSE, glyexp::GlycoproteomicSE, glyrepr::glycan_structure(), and others. All plotting entry points use tidyplots and return composable tidyplot objects. Defaults use a white background, restrained colors, and readable typography; adjust the returned plot for your output size and audience.

Example

library(glyexp)
library(glyclean)
library(glystats)
library(glyvis)

set.seed(42)
exp <- auto_clean(real_experiment)

pca_res <- gly_pca(exp)
autoplot(pca_res)

About

Visualization for everything in `glycoverse`!

Topics

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages