File: polyn.Rd

package info (click to toggle)
r-bioc-shortread 1.32.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,384 kB
  • ctags: 293
  • sloc: ansic: 2,718; cpp: 202; sh: 3; makefile: 2
file content (39 lines) | stat: -rw-r--r-- 812 bytes parent folder | download | duplicates (4)
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
36
37
38
39
\name{Utilites}
\alias{polyn}

\title{Utilities for common, simple operations}

\description{

  These functions perform a variety of simple operations.

}
\usage{
polyn(nucleotides, n)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
  \item{nucleotides}{A character vector with all elements having exactly
    1 character, typically from the IUPAC alphabet.}
  \item{n}{An \code{integer(1)} vector.}
}
\details{

  \code{polyn} returns a character vector with each element having
  \code{n} characters. Each element contains a single nucleotide. Thus
  \code{polyn("A", 5)} returns \code{AAAAA}.

}
\value{

  \code{polyn} returns a character vector of length \code{length(nucleotide)}

}

\author{Martin Morgan <mtmorgan@fhcrc.org>}

\examples{
polyn(c("A", "N"), 35)
}

\keyword{manip}