Learn R Programming

RPPanalyzer (version 1.4.9)

select.sample.group: Selects samples from RPPA data

Description

Selects samples from an RPPA data list according to the selected parameter.

Usage

select.sample.group(x, params=list("tissue" = c("T", "N")), combine = F )

Value

An RPPA data list containing only these samples that match the criteria given in the params list.

Arguments

x

List with RPPA data set

params

List of parameters the selection of samples is bases on. The names of the list describes the columns of the sampledescription matrix. The according values corresponds to the values in these columns that will be selected.

combine

Logical value. Indicates wheter the samples should match at least one criterion given in the params list (combine=TRUE) or if all criteria should be met (combine=FALSE). Default is FALSE.

Author

Heiko Mannsperger <h.mannsperger@dkfz.de>, Stephan Gade <s.gade@dkfz.de>

Examples

Run this code
if (FALSE) {
	library(RPPanalyzer)
	data(dataII)

	selectedData <- select.sample.group(dataII,params=list("stimulation"=c("A","B")))
}

Run the code above in your browser using DataLab