Skip to contents

Convenience function to compute kNN-DREMI directly from a MAGIC result object.

Usage

magic_knnDREMI(magic_result, gene_x, gene_y, ...)

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.

Value

DREMI value or list with DREMI and DREVI.

Examples

if (FALSE) { # \dontrun{
result <- magic(data, t = 3)
dremi <- magic_knnDREMI(result, "GeneA", "GeneB")
} # }