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