Convenience function to compute kNN-DREMI directly from a MAGIC result object.
Arguments
- magic_result
A magic object from
magic().- gene_x
Name or index of gene X.
- gene_y
Name or index of gene Y.
- ...
Additional arguments passed to
knnDREMI.
Examples
if (FALSE) { # \dontrun{
result <- magic(data, t = 3)
dremi <- magic_knnDREMI(result, "GeneA", "GeneB")
} # }