assignment | R Documentation |
Assigns a boolean based on a threshold on the likelihood or mva score for whether the signature is identified
assignment(df_in, method = "mva", signame = "Signature_3",
data = NULL, tumor_type = "breast", do_strict = T, weight_cf)
df_in |
input data.frame |
method |
'median_catalog' for likelihood based selection or 'mva' for multivariate analysis score based selection |
signame |
name of the signature that user wants to identify, 'Signature_3' or 'Signature_msi' |
data |
'msk', 'seqcap' or 'wgs' |
tumor_type |
tumor type as listed in https://github.com/parklab/SigMA/ because the thresholds are tumor_type specific |
do_strict |
sets whether a strict threshold should be applied or a loose one |
a data.frame with a single column which contains the boolean indicating the presence of the signature
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.