susiepca.sim

Classes

class susiepca.sim.SimulatedData[source]

the object contain simulated data components.

Functions

susiepca.sim.generate_sim(seed: int, l_dim, ...) SimulatedData[source]
Create the function to generate a sparse data for PCA. Please note that to

illustrate how SuSiE PCA work, we build this simple and straitforward simulation where each latent component have exact l_dim number of non-overlapped single effects. Please make sure l_dim < p_dim/z_dim when generate simulation data using this function.


Last update: Feb 13, 2024