Primers-method: S4 cbind for Primers.

cbind2,Primers,ANY-methodR Documentation

S4 cbind for Primers.

Description

S4 cbind function for Primers.

S4 rbind function for Primers.

Slices a Primers data frame.

Stores data in a column of a Primers data frame.

Usage

## S4 method for signature 'Primers,ANY'
cbind2(x, y, ...)

## S4 method for signature 'Primers,ANY'
rbind2(x, y, ...)

## S4 method for signature 'Primers,ANY'
x[i, j, ..., drop = TRUE]

## S4 replacement method for signature 'Primers'
x$name <- value

Arguments

x

The Primers data frame.

y

Another data frame.

...

Other arguments to the slice operator.

i

The row index.

j

The column index.

drop

Simplify data frame?

name

The name of the column.

value

The values of the column.

Value

Cbinded primer data frame.

Rbinded primer data frame.

Subset of primer data frame.

Primer data frame with replaced column.

Examples

data(Ippolito)
primer.df <- cbind2(primer.df, seq_len(nrow(primer.df)))
data(Ippolito)
primer.df <- primer.df[1:2,]
data(Ippolito)
primer.df$Forward[1] <- "ctagcgggaccg"

matdoering/openPrimeR documentation built on Feb. 11, 2024, 9:22 p.m.