z_factor_scan: Multiple z-factor calculations

Description Usage Arguments

Description

Calculates z-factors between two compounds for multiple variables and returns the z-factors and associated features above a specified cut-off. The cut-off can be determined either by a minumum z-factor score, or return the top n features.

Usage

1
z_factor_scan(data, treatment_col, treatments, cutoff = 0.5, n = FALSE)

Arguments

data

Dataframe, containing only numerical columns of features and single column of treatment labels

treatment_col

string, name of column containing treatments

treatments

vector of strings, names of positive and negative control. i.e c("DMSO", "STS)

cutoff

Minimum z-factor threshold for returning featues. Default is 0.5

n

Highest n features to be returned


Swarchal/phenoDist documentation built on May 9, 2019, 3:25 p.m.