Skip to content

a re-packaging of the sankey plot function for kraken reports taken from pavian and sankeyD3 from Florian Breitwieser

Notifications You must be signed in to change notification settings

gregorysprenger/krakenSankey

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

krakenSankey

This repository contains an R file that can be run with Rscript from the cli to create sankey html plots from kraken report files.

Basic Usage

Use conda to install R and other dependencies using the environment.yml file.

# Create environment
conda create env -f environment.yml

# Activate environment
conda activate krakenSankey

# Create sankey plot from kraken report
Rscript krakenSankey.R kraken.report sankey_plot.html

Functions in krakenSankey.R requires several packages and attempts to install them for you if they are missing. If an error occurs, please try to install the packages manually.

References / Acknowledgments

Most of the code in this repo is 1:1 extracted from Florian Breitwieser's repo pavian.

About

a re-packaging of the sankey plot function for kraken reports taken from pavian and sankeyD3 from Florian Breitwieser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%