chrom_init | R Documentation |
Intialize a chromosome object (diploid)
chrom_init(
c = 10,
map,
h1_breakpoints = NULL,
h1_donors = c("A"),
h2_breakpoints = NULL,
h2_donors = c("A")
)
c |
Chromosome to initialize (int); default is 10 |
map |
Dataframe with physical and genetic positions for chromosome trying to be simulated. Of format chr,physical_position,gentic_position |
h1_breakpoints |
physical breakpoint locations where donor identity changes on copy one of chromosome; default is NULL (list) |
h1_donors |
donor identities for copy one of chromosome; default is A (list) |
h2_breakpoints |
physical breakpoint locations where donor identity changes on copy two of chromosome; default is NULL (list) |
h2_donors |
donor identities for copy two of chromosome; default is A (list) |
A list of lists with attributes chr, h1, and h2, with h1 and h2 each containing vectors of breakpoint locations and donor names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.