Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

select_samples must ideally return the same data #43

Open
richelbilderbeek opened this issue Apr 28, 2022 · 0 comments
Open

select_samples must ideally return the same data #43

richelbilderbeek opened this issue Apr 28, 2022 · 0 comments

Comments

@richelbilderbeek
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant