calculateCellLineMean: Calculate cell line mean

View source: R/CMap.R

calculateCellLineMeanR Documentation

Calculate cell line mean

Description

Calculate cell line mean

Usage

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


nuno-agostinho/cTRAP documentation built on March 28, 2024, 3:59 p.m.