markersCorPlot: Plotting correlation between markers on two maps.

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/markersCorPlot.R

Description

Plotting correlation between two maps together with markers placement (comparison of coverage).

Usage

1
2
3
  markersCorPlot(cross, population, map=c("genetic","physical"), cmBetween=25,
    comparisonMethod = c(sumMajorityCorrelation,majorityCorrelation,
    meanCorrelation,majorityOfMarkers), chr, show.legend=FALSE, verbose=TRUE)

Arguments

cross

R/qtl cross type object.

population

An object of class population.

map

Which map (from ones stored in population$maps) should be used fo assigning chromosomes on the created map.

cmBetween

Offset between chromosomes specified in cM.

comparisonMethod

Method used to compare chromosomes from the new map to the original ones while assigning:

  • sumMajorityCorrelation - For each chromosome in cross for every marker checks the marker it is having highest correlation with. Checks on which chromosome this marker is placed in old map. For each of new chromosomes one or more of chromosomes from old map will be represented. Function sums correlations for each pair of those and for every new chromosomes assigns old chromosome with highest cumulative cor.

  • majorityCorrelation - For each chromosome in cross for every marker checks the marker it is having highest correlation with. Checks on which chromosome this marker is placed in old map. For each of new chromosomee, old chromosome with most markers with high correlation is assigned.

  • meanCorrelation - Assigning chromosome from new map to old ones using sum of the mean correlation between their markers.

  • majorityOfMarkers - For each chromosome in the cross object (either created inside the function or provided by user) chromosome from original map, where most markers from new chromosome are is assigned.

chr

Specifies subset of chromosomes to be shown.

show.legend

Shall the legend be shown on the plot.

verbose

Be verbose.

Details

Plots markers from moth old and new map as points and in the background - comparison between them done using selected comparison method.

Value

Matrix of comparisons between chromosomes obtained using comparison method.

Author(s)

Konrad Zych k.zych@rug.nl, Danny Arends Danny.Arends@gmail.com Maintainer: Konrad Zych k.zych@rug.nl

See Also

Examples

1
2
3

pheno2geno documentation built on May 2, 2019, 6:35 a.m.