select.sample.group: Selects samples from RPPA data

select.sample.groupR Documentation

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 )

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.

Value

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

Author(s)

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

Examples

## Not run: 
	library(RPPanalyzer)
	data(dataII)

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

## End(Not run)

RPPanalyzer documentation built on May 29, 2024, 5:43 a.m.