estimate_projection_failure | R Documentation |
Calculate the normalized distances of each query sample to the projected reference subset, and use a Gaussian mixture model to estimate the likelihood of projection failure, which is featured by large distance to the reference
estimate_projection_failure(
data_ref,
data_query,
k = 50,
seed = NULL,
do_plot = FALSE,
verbose = TRUE
)
data_ref |
Reference data matrix |
data_query |
Query data matrix |
k |
Number of neighbors |
seed |
The seed value for the Gaussian mixture model estimate |
do_plot |
Whether to plot the fitted mixture model (as density plot) |
verbose |
Whether to output the verbose message |
A data frame with normalized projection distance and estimated projection failure likelihood
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.