rename_iids | R Documentation |
Rename all the within-family IDs within the data
rename_iids(data, iids)
data |
the data source, which can be:
|
iids |
one or more within-family IDs, as can be checked by check_iids |
the data with renamed family IDs
Richèl J.C. Bilderbeek
# Use PLINK text data
data_before <- create_test_plink_text_data()
new_iids <- as.character(1 + data_before$ped_table$IID)
# the .ped table has the new iids
data_after <- rename_iids(
data = data_before,
iids = new_iids
)
# Use data used by plink::assoc_qt
data_before <- create_test_assoc_qt_data()
new_iids <- as.character(1 + data_before$data$ped_table$IID)
# the .ped and .phe tables have the new iids
data_after <- rename_iids(
data = data_before,
iids = new_iids
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.