View source: R/standardization.R
| read_qploidy_standardization | R Documentation |
This function reads a file generated by the 'standardize' function and reconstructs a 'qploidy_standardization' object. The file contains metadata, filtering information, and the standardized dataset.
read_qploidy_standardization(qploidy_standardization_file)
qploidy_standardization_file |
A string specifying the path to the file generated by the 'standardize' function. The file should be in CSV format and include metadata, filters, and data sections. |
The function uses the 'vroom' package to efficiently read the file in chunks. The first row contains metadata ('info'), the second row contains filtering information ('filters'), and the remaining rows contain the standardized dataset ('data').
An object of class 'qploidy_standardization', which is a list containing: - 'info': A named vector of standardization parameters. - 'filters': A named vector summarizing the number of markers removed at each filtering step. - 'data': A data frame containing the standardized dataset with BAF, Z-scores, and genotype information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.