comp.scores: Computes lethality scores for replicates with the same...

Description Usage Arguments Value See Also

Description

comp.scores is an internal function called by get.leth.scores. It computes lethality scores per replicate, for a data matrix where replicates have the same plate/well annotation.

Usage

1
comp.scores(my_data, wtype_ann, is_robust = TRUE)

Arguments

my_data

data matrix containing only data columns, so all columns are of type numeric. It can be a matrix with a single column, but we must be able to apply nrow, ncol and apply on it.

wtype_ann

object containing the well type annotation. It can be a vector, character or factor. In case different columns of my_data have different well annotation, this should be a matrix with the same dimensions as my_data.

is_robust

logical; TRUE by default, when the median of the controls is used to compute the scores. If FALSE, the mean of the controls is used instead.

Value

a matrix with the same dimensions as my_data containing all lethality scores.

See Also

read.screen.data on reading screen data, combine.screens to combine data from multiple screens into a single object, and get.rscreenorm to normalize the screen data using the invariant-set quantile normalization.


rxmenezes/rscreenorm documentation built on May 15, 2019, 1:19 p.m.