Git Product home page Git Product logo

aftersl1p's Introduction

AfterSl1p

experimental

This is a draft R package that provides convenience functions for the organization, curation, and visualization of microbiome data sets. This package is lightly maintained by a single human and is provided as is, with no guarantees of any kind.

Please see the CHANGELOG for important updates and bug fixes, and make sure you are using the most recent version of this package. A major bug fix was released January 17, 2022, so please make sure you are running a newer version than that. Any bugs or feature requests can be reported via the issues tab. I can make no guarantee about how soon updates or fixes will happen, but I will do my best to fix critical bugs a quickly as possible.

To use this package I recommend cloning the repository using git. That will make it easiest for you to stay up to date with new versions. If using git is not an option for you, you can download a zip file of the code using the green button at the top right corner of the page; however I recommend you check back at least once every six months and download a new version if there have been updates.

Installation

You can install the most stable version of AfterSl1p from GitHub with:

# install.packages("devtools")
devtools::install_github("JCSzamosi/aftersl1p@*release")

You can also install the latest, development version with

# install.packages("devtools")
devtools::install_github("JCSzamosi/[email protected]")

N.B.: The value after the @ in the development version will change frequently, so check back here (or check the Releases section of the repository) to make sure you’re getting the most recent version.

aftersl1p's People

Contributors

bbolker avatar jcszamosi avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

aftersl1p's Issues

dbig taxa overzealous

dbig taxa is putting the family at the end of every genus name, not just the ambiguous ones

modernize `plot_tax_bar()`

  • stop using aes_string_(), which is deprecated. Update to whatever replaced it.
  • include a cutoff argument in the function itself so that people don't have to re-run make_tax_df() to change their cutoff
  • provide an option to limit the number of taxa shown in the legend without removing them from the plot

Issue with plot_taxon_violin

Hi Jake,

I am getting the following error:

"Error in FUN(X[[i]], ...) : object 'extraction' not found"

when I attempt to run plot_taxon_violin

I think this is because the function was originally used to plot differences between extraction methods maybe? Is there any way to allow for specifying the x axis in the function? (similar to how plot_taxa_bar allows specifying 'sample'. In the meantime I've just changed the function on my end to whatever I would like the X axis to be..

Great stuff, really finding the package helpful.

Fix cutoff ordering in make_phy_df()

I think this will screw things up for group-mean taxa barcharts when the cutoff is >0 because the non-zero total will be removed from the denominator. Need to make sure I understand exactly what this is doing.

# Set all counts < the cutoff to zero
phyloseq::otu_table(phyl_glommed)[phyloseq::otu_table(phyl_glommed) <
                                      cutoff] = 0

Transition to rlang 0.4.0 {{}} syntax everywhere

I want to remove all instances of deprecated underscore functions and replace it with the new syntax. I just feel like I should wait a bit to be more sure that users will have the newer version of rlang. Otherwise I have to implement version checks and make it backward compatible.

Issue with group_by_ when using make_phy_df function

Hi,

When I attempt to use make_phy_df from exploratory_graphics.R, the following error is returned:

Error in group_by_(., .dots = metacols) :
could not find function "group_by_"

Seems like the function was removed?

Thanks in advance for help with this and please let me know if further information is required

Fix colour ordering in taxa bar charts

Fix ordering of colour vectors so that they behave the way a user expects: The most abundant taxon should be the first colour in the user-provided vector, and so on.

Function to disambiguate genus names

Sometimes different genera in different families have the same name. Write a function to append the family name to the genus name. Code is in the Steinberg Metformin project.

Stop using `group_by_()`

group_by_() is deprecated. Figure out how to use group_by() programmatically instead. Probably merge this issue with the rlang issue.

leglen makes Other not grey

When the leglen option is used in plot_tax_bar(), the Other category is no longer grey, but is taken from the colour vector.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.