XStringSet
-class) from object.XStringSet
-class)
from a phyloseq data object (phyloseq-class
).
Like other accessors (see See Also, below), the default behavior of this method
is to stop with an
error if physeq
is a phyloseq-class
but does not
contain reference sequences (the component data type you are trying to access in this case).refseq(physeq, errorIfNULL=TRUE)## S3 method for class 'ANY':
refseq(physeq, errorIfNULL = TRUE)
## S3 method for class 'XStringSet':
refseq(physeq)
NULL
)? Default TRUE
.phylo
-class object contained within physeq
;
or NULL if physeq
does not have a tree.
This method stops with an error in the latter NULL case be default, which
can be over-ridden by changing the value of errorIfNULL
to FALSE
.otu_table
, sample_data
, tax_table
phy_tree
,
phyloseq
, merge_phyloseq
data(GlobalPatterns)
refseq(GlobalPatterns, FALSE)
Run the code above in your browser using DataLab