cran / geneHapR

:exclamation: This is a read-only mirror of the CRAN R package repository. geneHapR — Gene Haplotype Statistics, Phenotype Association and Visualization
0 stars 2 forks source link

Plotting in smaller map #3

Open avvypaks opened 5 months ago

avvypaks commented 5 months ago

Hi,

Is it possible to map my haplotypes only in India/a smaller part of the map? The maps package has options for Nearctic regions or some parts of Europe, but not for Asia. If yes, it would be very useful if could share that information.

Thanks in advance.

Cheers.

gaborcsardi commented 5 months ago

Hi, this is a read only mirror of CRAN, please see the package authors in the DESCRIPTION file. Look for Maintainer, BugReports and URL. Thanks!

avvypaks commented 5 months ago

For future reference:

hapDistribution(hapResult, AccINFO = AccINFO, LON.col = "longitude", LAT.col = "latitude", hapNames = c("H001", "H002","H003" ,"H004", "H005"), database = map('world', ylim=c(-10, 90), xlim=c(-20, 220)), legend = "topright")

This works! Thanks.