This function returns a logical based on weather or not the object is in the raw_format.
is_raw_format(obj)A logical (TRUE/FALSE).
The "raw_format" is Level 1. in the MicrobiomeR_Formats hierarchy.
if (FALSE) { # \dontrun{
if(interactive()){
library(MicrobiomeR)
if(is_raw_format(MicrobiomeR::raw_silva_2)){
print("It's raw!")
} else {
fmt <- which_format(MicrobiomeR::raw_silva_2)
print("It's not analyzed!")
print(sprintf("It's %s!", fmt))
}
}
} # }