File: colnames-methods.Rd

package info (click to toggle)
r-bioc-biomformat 1.10.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 392 kB
  • sloc: sh: 10; makefile: 2
file content (35 lines) | stat: -rw-r--r-- 867 bytes parent folder | download | duplicates (5)
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{colnames,biom-method}
\alias{colnames,biom-method}
\title{Method extensions to \code{\link[base]{colnames}}
for \code{\link{biom-class}} objects.}
\usage{
\S4method{colnames}{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]{colnames}} 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) )
colnames(x)
}
\seealso{
\code{\link{nrow}}

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

\code{\link{biom_shape}}
}