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.
1 | z_factor_scan(data, treatment_col, treatments, cutoff = 0.5, n = FALSE)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.