gcae_input_data_all is a list with not only a .bed, .bim and .fam table, but other elements as well.
When I run select_samples...
gcae_input_data <- plinkr::select_samples(
data = gcae_input_data_all,
sample_selector = plinkr::create_random_samples_selector(
n_samples = 3
)
)
I expected that gcae_input_data would have the same list elements as gcae_input_data_all. This is false, only the .bed, .bim and .fam tables are preserved.
Let select_samples return the same data