Question: Graph using corrplot for multiple sets of data
0
gravatar for rvsaras86
4.0 years ago by
rvsaras860
United States
rvsaras860 wrote:

I am using the corrplot package to create a graph for different sets of matrices. Is there anyway to merge all the graphs together into one using R?

R • 1.5k views
ADD COMMENTlink modified 3.8 years ago by Biostar ♦♦ 20 • written 4.0 years ago by rvsaras860

Don't know what you mean by "merge graphs into one", but you can use multiplot function or gridExtra package (more on SO).

ADD REPLYlink modified 4.0 years ago • written 4.0 years ago by PoGibas4.8k

Thanks. By merge, I mean plot the different sets of correlation matrices I have on the same graph with a color code identifying the different sets.

ADD REPLYlink written 4.0 years ago by rvsaras860

So you want to use color for correlation, but use different pallets for different sets in the same graph? I doubt that this is possible in corrplot.

ADD REPLYlink written 4.0 years ago by PoGibas4.8k

yes. Is there any other way of doing this,without using corrplot?

ADD REPLYlink written 4.0 years ago by rvsaras860

You can use ggplot to plot correlation matrix, but still have to use multiplot or gridExtra to merge multiple graphs.

ADD REPLYlink written 4.0 years ago by PoGibas4.8k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 931 users visited in the last hour