resize_to_shared_individuals_from_data: Resize the 'gcae_input_data' to only contain the shared...

View source: R/resize_to_shared_individuals_from_data.R

resize_to_shared_individuals_from_dataR Documentation

Resize the gcae_input_data to only contain the shared individuals.

Description

Resize the gcae_input_data to only contain the shared individuals.

Usage

resize_to_shared_individuals_from_data(gcae_input_data, verbose = FALSE)

Arguments

gcae_input_data

in-memory data that can be used as input for GCAE. Use linkread_gcae_input_files to read it from files, use check_gcae_input_data to check it for validity.

verbose

the verbosity of a function. Set to TRUE for more output. Use check_verbose to detect if this argument is valid.

Value

the gcae_input_data with only shared individuals

Author(s)

Richèl J.C. Bilderbeek

See Also

Related resize functions:

  • Use resize_to_shared_individuals_from_data to resize the data in in-memory data

  • Use resize_to_shared_individuals_from_files to resize the data in files

Examples

gcae_input_data <- create_test_gcae_input_data()

# Show before
summarise_gcae_input_data(gcae_input_data)

gcae_input_data <- resize_to_shared_individuals_from_data(gcae_input_data)

# Show after
summarise_gcae_input_data(gcae_input_data)

richelbilderbeek/gcaer documentation built on March 25, 2024, 3:08 p.m.