data_prepare | R Documentation |
Split the mitochondrial genotype matrix into 12 submatrices according to mutation types.
data_prepare(data)
data |
A dataframe containing mitochondrial variants frequency matrix and two other column "altAllele" and "refAllele". "altAllele" column represents the mutant allele; "refAllele" column represents the reference allele. Required. |
Matrix splitting based on mutation types
A list containing 12 submatrices with different mutation types. ("altAllele" column and "refAllele" column are removed)
data("TF1_clones") data=TF1_clones$data d=data_prepare(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.