getReplicates.GeneGroups: Gets all spots that exist with a certain number of replicates

Description Usage Arguments Value Author(s) See Also

Description

Gets all spots that exist with a certain number of replicates.

Usage

1
2
## S3 method for class 'GeneGroups'
getReplicates(this, nbrOfReplicates, value=NULL, asMatrix=TRUE, ...)

Arguments

nbrOfReplicates

The number of replicates to be selected for, i.e. the returned genes all have this number of replicates.

value

A vector containing the values to be returned ordered in the same way as the spot indicies. If NULL, the spot indices are returned.

asMatrix

If TRUE, the returned values are returned as a matrix with nbrOfReplicates columns and where each row represents one gene and the rows are named as the genes, otherwise a list is returned where each element represents one gene and contains nbrOfReplicates values and the elements are named as the genes.

Value

Returns a list or a matrix.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

Shorthand versions: *getDuplicates(), *getTriplicates(), *getQuadruplicates(). For more information see GeneGroups.


HenrikBengtsson/aroma documentation built on May 7, 2019, 12:56 a.m.