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{biom_shape}
\alias{biom_shape}
\alias{biom_shape,biom-method}
\title{The matrix dimensions
of a \code{\link{biom-class}} object.}
\usage{
biom_shape(x)
\S4method{biom_shape}{biom}(x)
}
\arguments{
\item{x}{(Required). An instance of the \code{\link{biom-class}}.}
}
\value{
A length two \code{\link{integer-class}} vector
indicating the \code{\link{nrow}} and \code{\link{ncol}}
of the main data matrix stored in \code{x}.
}
\description{
The matrix dimensions
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) )
biom_shape(x)
}
\seealso{
\code{\link{biom-class}}
}
|