File: loadSamples.Rd

package info (click to toggle)
r-bioc-bitseq 1.26.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,620 kB
  • sloc: cpp: 6,506; sh: 4; makefile: 2
file content (32 lines) | stat: -rw-r--r-- 1,157 bytes parent folder | download | duplicates (2)
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
\name{loadSamples}
\alias{loadSamples}
\alias{writeSamples}
\title{Loading and saving expression samples}
\description{Functions for loading expression samples into DataFrame and saving samples from DataFrame into a file.}
\usage{
loadSamples(fileName, trInfoFile=NULL)
writeSamples(data, fileName)
}
\arguments{
\item{fileName}{Name of the file with samples or to which the samples are written.}
\item{data}{DataFrame with samples written to the file.}
\item{trInfoFile}{Transcript information file which can be used to name the rows.}
}
\details{
The \code{loadSamples} function load samples from the specified file into a \code{DataFrame}.
If the transcript information file is provided, the transcript names are use as row names.

The \code{writeSamples} function can save samples from a \code{DataFrame} into a file in format which is valid for BitSeq and can be used in other functions.
}
\value{
\item{DataFrame}{Containing the expression samples}
}
\author{Peter Glaus}

\seealso{\code{\link{estimateExpression}}}
\examples{\dontrun{
samples1<-loadSamples("data-c0b1.rpkm")
writeSamples(samples1,"new-c0b1.rpkm")
}}

\keyword{transcript expression}