View source: R/extract_functions.R
extract_repeat_correction_summary | R Documentation |
Extracts a table summarizing the model used to correct repeat length
extract_repeat_correction_summary(fragments_list)
fragments_list |
A list of fragments_repeats class objects obtained from the |
For each of the samples used for repeat correction, this table pulls out the modal repeat length called by the model (allele_repeat
), how far that sample is on average from the linear model in repeat units by finding the average residuals (avg_residual
), and the absolute value of the avg_residual
(abs_avg_residual
)
A data.frame
fsa_list <- lapply(cell_line_fsa_list[16:19], function(x) x$clone())
find_ladders(fsa_list, show_progress_bar = FALSE)
fragments_list <- find_fragments(fsa_list, min_bp_size = 300)
test_alleles <- find_alleles(
fragments_list
)
add_metadata(
fragments_list,
metadata
)
call_repeats(
fragments_list = fragments_list,
correction = "repeat"
)
# finally extract repeat correction summary
extract_repeat_correction_summary(fragments_list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.