hitscore: assign hit scores

Description Usage Arguments Details Value

View source: R/fun-hitscore.R

Description

Assign hit status to single wells in a screen based on their z scores.

Usage

1
hitscore(x, threshold = 2)

Arguments

x

a numeric vector

threshold

numeric vector specifying the lower- and upper cut-off threshold; normally of length 2, but a symmetric (e.g. -3 and 3) threshold can be specified with a single numeric;

Details

A data point is considered a hit if its hitting variable (e.g. a z score) exceeds a threshold. A point can have one of three hitscores:

Value

a vector of hit statuses represented as integers: 1, -1 or 0


olobiolo/siscreenr documentation built on Nov. 26, 2021, 3:08 p.m.