Projects/laydi
Archived
7
0
This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
laydi/R/laydi/man/write.laydi.selection.Rd
einarr 633465e4c8 * Added function fro reading laydi selections.
* Fixed bug in documentation of write.laydi.selection.
2011-03-06 14:38:24 +00:00

62 lines
1.6 KiB
R

\name{write.laydi.selection}
\alias{write.laydi.selection}
\title{write.laydi.selection}
\description{
Writes a Laydi selection file from a list of identifiers. Identifiers are
written one per line, with all whitespace characters substituted with
underscores.
}
\usage{
write.laydi.selection(data, con)
}
\arguments{
\item{data}{
A list of identifiers. All whitespace characters will be replaced wity
underscores in the output. (Laydi requires unique identifiers along a
dimension, and does not allow identifiers to contain spaces.) This method
does not ensure that identifiers are unique.
}
\item{con}{
Connection (or file name) to write the data to. If con is a character
string, it will be treated as a file name, and a file by that name will be
created, written to and closed. If con is an open connection (file descriptor),
the file will remain open.
}
}
\details{
%% ~~ If necessary, more details than the description above ~~
}
\value{
%% ~Describe the value returned
%% If it is a LIST, use
%% \item{comp1 }{Description of 'comp1'}
%% \item{comp2 }{Description of 'comp2'}
%% ...
}
\references{
Laydi and the laydi R package are not published in the litterature. Source code
can be found at http://dev.pvv.ntnu.no/projects/laydi
}
\author{
Einar Ryeng
}
\note{
%% ~~further notes~~
}
%% ~Make other sections like Warning with \section{Warning }{....} ~
\seealso{
%% ~~objects to See Also as \code{\link{help}}, ~~~
}
\examples{
write.laydi.selection(c("sample1", "sample2", "sample3"), "/tmp/selected_samples")
}
\keyword{ IO }
\keyword{ file }