convertxoloc | R Documentation |
Convert the format of data on crossover locations to that needed for the
function fitGamma.
convertxoloc(breaks)
breaks |
A list of crossover locations, as output by
|
A data frame with two columns: the inter-crossover and crossover-to
chromosome end differences ("distance"
) and indicators of censoring
type ("censor"
), with 0 = distance between crossovers, 1=start of
chromosome to first crossover, 2 = crossover to end of chromosome, and 3 =
whole chromosome.
Karl W Broman, broman@wisc.edu
find.breaks()
, fitGamma()
,
simStahl()
data(bssbsb)
# crossover locations on chromosome 1
xoloc1 <- convertxoloc(find.breaks(bssbsb, chr=1))
# crossover locations on all chromosomes
xoloc <- convertxoloc(find.breaks(bssbsb))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.