% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/BIOM-class.R
\docType{methods}
\name{ncol,biom-method}
\alias{ncol,biom-method}
\title{Method extensions to \code{\link[base]{ncol}}
for \code{\link{biom-class}} objects.}
\usage{
\S4method{ncol}{biom}(x)
}
\arguments{
\item{x}{(Required). An instance of the \code{\link{biom-class}}.}
}
\value{
The number of columns in \code{x}.
 A length 1 \code{\link{integer-class}}.
}
\description{
See the general documentation of \code{\link[base]{ncol}} method for
expected behavior.
}
\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) )
ncol(x)
}
\seealso{
\code{\link{nrow}}

\code{\link[base]{ncol}}

\code{\link{biom_shape}}
}