Entering edit mode
5.7 years ago
lakshayanand15
▴
80
chromoMap is an R package that can be used to create interactive visualizations and annotation of entire chromosomes or chromosome regions of any living organism. It takes BED like files to specify the coordinates of the chromosomes and the annotations separately.chromosomes are rendered as a continuous composition of loci where you can hover on a locus to see detailed annotation for the genomic range of that locus. It is available on CRAN. It provides many features like:
- visualize different sets of chromosomes(polyploidy) on the same plot that can be used for cross-species or multi-sample comparisons.
- associate numeric data and create chromosome heatmaps or visualize group annotations
- add hyperlinks to your favorite database and many more like add labelings, change colors and embellish your plots.
------- chromoMap 2022 UPDATE ----------- More new features like 2D-Chromosome Plots, high resolution etc.
Check out version 4:
I prepared a chromosome file (c_plot) as
Annotation file (de_lncrna.annotation) as:
I did
I have one chromosome and one annotation file only, I specified it as per manual, but I am getting this error.
Kindly help!
Hello,
chromoMap() takes the file-names directly as input. Try passing the filenames directly as:
chromoMap( "~/lncrna/chromomap/c_plot", "~/lncrna/chromomap/de_lncrna.annotation")
or you could save the names in character variable: annot_dat <- "~/lncrna/chromomap/de_lncrna.annotation" chrom_dat <- "~/lncrna/chromomap/c_plot"
and then do, chromoMap(chrom_dat, annot_dat)
I hope that is helpful.
Thank you for trying chromoMap. Cheers, Lakshay
Hello, I used your package for making chromosome heatmaps (very pretty plots!) Just one thing: the automated color scale is going from red to blue, meaning positive values are blue. I would like to reverse the color scale but didn't find out how. I understood that with data_colors the annotation colors can be changed, but only for categorial variables and not for a continous scale. Am I missing something? thank you for the nice package!
Hello, thank you for your praise, I appreciate that! you can use data_colors to change the heatmap colors also.
I have rolled the new upgrade to the package, version 3, with some new major features, please try it out to see if you can make the plot you are desire to make. please check it out! chromoMap v3
Hi,
I think this package is brilliant! Really nice way of visualizing data across the chromosome. I'm using your chromoMap package to visualize a set of genes and I just wondered if there was any way to adjust the range of the loci? I know it says in the tutorial that the chromosome is arranged into loci based upon the length of the chromosome but is this range customizable? I ask this because some of the genes I am looking at are close together and so appear as one feature on the chromoMap plot but I would like to see them separately.
Hello, Thank you very much for the compliment, I really appreciate that. As for your query, you can try changing the range of entire chromosomes through the chromosome files that will automatically adjust the loci range. The chromosome files define the start and stop coordinates of each chromosome. the chr start value doesn't have to be 1, you can choose any value and in this way, you can visualize a genomic/chromosomal region of interest (rather than the entire chromosome). You can split a chromosome into sub-regions and visualize them all in a single chromoMap plot.