1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/BIOM-class.R
\docType{methods}
\name{matrix_element_type}
\alias{matrix_element_type}
\alias{matrix_element_type,biom-method}
\title{Access class of data in the matrix elements
of a \code{\link{biom-class}} object}
\usage{
matrix_element_type(x)
\S4method{matrix_element_type}{biom}(x)
}
\arguments{
\item{x}{(Required). An instance of the \code{\link{biom-class}}.}
}
\value{
A \code{\link{character-class}} string indicating
the class of the data stored in the main observation matrix of \code{x},
with expected values \code{"int"}, \code{"float"}, \code{"unicode"}.
}
\description{
Access class of data in the matrix elements
of a \code{\link{biom-class}} object
}
\examples{
# # # import with default parameters, specify a file
biom_file = system.file("extdata", "rich_sparse_otu_table.biom", package = "biomformat")
(x = read_biom(biom_file) )
matrix_element_type(x)
}
\seealso{
\code{\link{biom-class}}
}
|