This function returns a logical based on weather or not the object is in the phyloseq_format.

is_phyloseq_format(obj)

Arguments

obj

A Taxmap object.

Value

A logical (TRUE/FALSE).

Details

The "phyloseq_format" is Level 0. in the MicrobiomeR_Formats hierarchy.

See also

Examples

# NOT RUN {
if(interactive()){
library(MicrobiomeR)
if(is_analyzed_format(MicrobiomeR::raw_silva_2)){
    print("It's phyloseq format!")
} else {
    fmt <- which_format(MicrobiomeR::raw_silva_2)
    print("It's not phyloseq fomrat!")
    print(sprintf("It's %s!", fmt))
}
 }
# }