GithubHelp home page GithubHelp logo

phyleria / getspecifictaxid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jwokaty/packagetemplate

1.0 0.0 0.0 14 KB

A package with a function that imports data from BugSigDB using bugSigdbr and returns Signatures with a specified Tax. Id

License: Other

R 100.00%

getspecifictaxid's Introduction

getSpecificTaxId Package

The goal of the getSpecificTaxId package is to allow the access of specific Tax Ids without extracting all the Ids available.

Installation

You can install the development version of packagetemplate from Github with:

install_github("getSpecificTaxId")

Example

This is a basic example which shows how to use getSpecificTaxId:

library(getSpecificTaxId)

getMetaphlan <- getSpecificTaxId(df,
                                 tax.id.type = ("metaphlan"),
                                 tax.level = "mixed",
                                 exact.tax.level = TRUE,
                                 min.size = 1)
#> $`bsdb:1/1/1_adenoma:conventional-adenoma-cases_vs_controls_UP`
#>  [1] "k__Bacteria|p__Firmicutes|c__Bacilli"                                                                                        
#>  [2] "k__Bacteria|p__Proteobacteria|c__Gammaproteobacteria"                                                                        
                                                          
#> 
#> $`bsdb:1/1/2_adenoma:conventional-adenoma-cases_vs_controls_DOWN`
#> [1] "k__Bacteria|p__Firmicutes|c__Erysipelotrichia|o__Erysipelotrichales|f__Coprobacillaceae|g__Coprobacillus"
#> [2] "k__Bacteria|p__Cyanobacteria"                                                                            
#> 
#> $`bsdb:1/2/1_Hyperplastic-Polyp:hyperplastic-polyp-cases_vs_controls_UP`
#> [1] "k__Bacteria|p__Firmicutes|c__Clostridia|o__Eubacteriales|f__Lachnospiraceae|g__Anaerostipes"                                 
#> [2] "k__Bacteria|p__Firmicutes|c__Bacilli|o__Lactobacillales|f__Lactobacillaceae|g__Lacticaseibacillus|s__Lacticaseibacillus zeae"

getspecifictaxid's People

Contributors

jwokaty avatar phyleria avatar

Stargazers

 avatar

getspecifictaxid's Issues

Feedback

Hi @phyleria,

Thanks for this contribution. Since it's not required to know R or Bioconductor Packages for this project, I'm mostly looking for attention to detail in this contribution task.

Very neat work. Although the function doesn't work because sigs isn't defined, I can see how neatly you write code. Regarding your vignette, I think you could have unified the code block so that lines 17-18 could be with your examples. As it is, text in lines 20-28 are part of the code block. I had also requested as part of step 4 that you update the DESCRIPTION file.

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.