View source: R/assessQualityOfClassification.R
The function quantifies the quality of assay for a given threshold classifying samples as positive or negative. It performs analysis in a column-wise manner, where column data belongs to an assay.
1 | assessQualityOfClassification(df, anno, threshold = 0.2)
|
df |
A data frame. Represents percent enrichment of condtion in sample (generated by whatever assay). Make sure row.names(df) correspond to row.names(anno) |
anno |
An annotation of data frame. Make sure annotation has two columns. anno[,1] corresponds to sample name (of character type). anno[,2] corresponds to sample condition (of character type). make sure condition names in anno[,2] are the same as condition column names in df. |
threshold |
A numeric above which sample is clasified as positive for a given assay, and negative if below the threshold. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.