Description Usage Arguments Details Value See Also Examples
View source: R/metacoder-formatting.R
This function returns a logical based on weather or not the object is in the analyzed_format.
1 | is_analyzed_format(obj)
|
obj |
A Taxmap object. |
The "analyzed_format" is Level 3. in the MicrobiomeR_Formats hierarchy.
A logical (TRUE/FALSE).
Other Validation: is_basic_format
,
is_phyloseq_format
,
is_raw_format
,
order_metacoder_data
,
validate_MicrobiomeR_format
,
which_format
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
if(interactive()){
library(MicrobiomeR)
if(is_analyzed_format(MicrobiomeR::raw_silva_2)){
print("It's analyzed!")
} else {
fmt <- which_format(MicrobiomeR::raw_silva_2)
print("It's not analyzed!")
print(sprintf("It's %s!", fmt))
}
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.