simulatePopulation | R Documentation |
Simulate a population given ranges of chromosome sequence to mutate.
simulatePopulation(
chrom_seq,
starts,
ends,
strand,
snv_df,
pop_size,
top_kmers,
central_pattern,
k
)
chrom_seq |
A chromosome sequence. |
starts |
Start positions. |
ends |
End positions. |
strand |
Strand type: "+" or "-". |
snv_df |
A table of SNV frequency. Columns: position, base, count. |
pop_size |
Size of population. |
top_kmers |
Extreme k-mers i.e. highly susceptible k-mers. |
central_pattern |
K-mer central pattern. |
k |
K-mer size. |
A count matrix with 4 rows for total top k-mers and susceptible k-mers in sense and antisense. Columns correspond to population individuals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.