Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phyloseq -> MicrobiomeExperiment low-level data translation document #14

Open
hcorrada opened this issue Apr 1, 2018 · 5 comments
Open
Assignees

Comments

@hcorrada
Copy link
Contributor

hcorrada commented Apr 1, 2018

No description provided.

@joey711
Copy link

joey711 commented Apr 1, 2018

@joey711 when this is closed good idea to start testing migration in https://github.com/joey711/phyloseq/tree/MicrobiomeExperiment

@hcorrada
Copy link
Contributor Author

hcorrada commented Apr 1, 2018

From phyloseq vignette:

Function Returns
[ Standard extraction operator. Works on otu_table, sample_data, and taxonomyTable
access General slot accessor function for MicrobiomeExperiment-package
get_taxa Abundance values of all taxa in sample `i'
get_sample Abundance values of taxa `i' for all samples
get_taxa_unique A unique vector of the observed taxa at a particular taxonomic rank
get_variable An individual sample variable vector/factor
nsamples Get the number of samples described by an object
ntaxa Get the number of OTUs (taxa) described by an object
otu_table Build or access otu_table objects
rank_names Get the names of the available taxonomic ranks
sample_data Build or access sample_data objects
sample_names The names of all samples
taxa_names The names of all taxa
sample_sums The sum of the abundance values of each sample
sample_variables The names of sample variables
taxa_sums The sum of the abundance values of each taxa
taxa_are_rows TRUE if taxa are row indices in otu_table
tax_table A taxonomy table
phy_tree Access the tree contained in a MicrobiomeExperiment object

@dombraccia
Copy link
Collaborator

SE = SummarizedExperiment package
mgF = metagenomeFeatures package
X = no equivalent fucntion contained in specified package

Function Returns SE mgF
[ Standard extraction operator. Works on otu_table, sample_data, and taxonomyTable [
access General slot accessor function for MicrobiomeExperiment-package X X
get_taxa Abundance values of all taxa in sample `i' X X
get_sample Abundance values of taxa `i' for all samples X X
get_taxa_unique A unique vector of the observed taxa at a particular taxonomic rank X X
get_variable An individual sample variable vector/factor X X
nsamples Get the number of samples described by an object X X
ntaxa Get the number of OTUs (taxa) described by an object X X
otu_table Build or access otu_table objects X X
rank_names Get the names of the available taxonomic ranks X X
sample_data Build or access sample_data objects X X
sample_names The names of all samples X X
taxa_names The names of all taxa X X
sample_sums The sum of the abundance values of each sample X X
sample_variables The names of sample variables X X
taxa_sums The sum of the abundance values of each taxa X X
taxa_are_rows TRUE if taxa are row indices in otu_table X X
tax_table A taxonomy table X X
phy_tree Access the tree contained in a MicrobiomeExperiment object X X

@dombraccia
Copy link
Collaborator

NOTE: the majority of phyloseq functions in this table are simple accessor functions or are derivatives of base R functions.

@hcorrada
Copy link
Contributor Author

hcorrada commented Dec 20, 2018

[X] add counts accessor
[ ] add taxTable accessor


[X] clean up taxa_names to use splitTree from TreeIndex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants