Learn R Programming

RPPanalyzer (version 1.2.2)

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 )

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.

Examples

Run this code
library(RPPanalyzer)
	data(dataII)

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

Run the code above in your browser using DataLab