calculateCellLineMean: Calculate cell line mean

Description Usage Arguments Value

View source: R/CMap.R

Description

Calculate cell line mean

Usage

1
calculateCellLineMean(data, cellLine, metadata, rankPerCellLine)

Arguments

data

Data table: comparison against CMap data

cellLine

Character: perturbation identifiers as names and respective cell lines as values

metadata

Data table: data metadata

rankPerCellLine

Boolean: rank results based on both individual cell lines and mean scores across cell lines (TRUE) or based on mean scores alone (FALSE)? If cellLineMean = FALSE, individual cell line conditions are always ranked.

Value

A list with two items:

data

input data with extra rows containing cell line average scores (if calculated)

rankingInfo

data table with ranking information

metadata

metadata associated with output data, including for identifiers regarding mean cell line scores


cTRAP documentation built on Nov. 8, 2020, 10:58 p.m.