stoic_data.RdChecks and prepares input data for stoic to run properly. In particular, it pre-computes the correlation matrix between samples in the main data, and a reduced space of the main data for visualization purposes.
Main data matrix (n_obs * n_samples) in which observations are to be clustered. Observations IDs should be the rownames.
Guide data matrix (n_obs * n_features) to be used to guide the clustering of the main data. Observations IDs should be the rownames and match the IDs of the main data.
Random seed (Default is NULL).
order of the samples in main data (optional), for visualization purposes. It can be numerical or alphanumerical.
A list containing the necessary data to run stoic.
data("neuron_diff")
data <- stoic_data(main_data = neuron_diff$main_data,
guide_data = neuron_diff$guide_data,
sample_order = neuron_diff$sample_order)