ggplot2 tag

6 questions


1 answers
449 views
0
The ggplot2 may or may not display a diagram.

I am trying to draw using tidyverse and qiime2R in R.If you enter data and run the script, The first time it was drawn, but after saving the diagram, closing the diagram window (Quartz), and entering ...

2 years ago

1 answers
121 views
0
R: About the color and size classification of the scatterplot using ggplot

In the scatterplot using the following data, I would like to specify any color and size.Reg takes an integer from 1 to 6, but increases the size of 1 and I would like to reduce the size of 6.Data Name...

2 years ago

2 answers
99 views
0
R: Color coding of scatterplot using ggplot

I would like to create a scatterplot that is arbitrarily color-coded by the value of Reg when I use the following data Res. US>Reg hw Sex11 180 60 M2 2 15550 F3 316055F42 170 65 M ...base<-ggplot(R...

2 years ago

1 answers
149 views
0
How to Change Legend Labels and Colors in ggplot2

I'd like to change the label in the legend in Rggplot2scale_fill_discreteWe were able to change the legend label by referring to the page above.In addition to this, how do I perform color specificatio...

2 years ago

1 answers
111 views
0
I want to change the order of legend items in a state where the legend and plot colors are matched in ggplot2.

If you search well, you may find a solution, but I couldn't get there.Professor, please.R is trying to draw using tidyverse and qiime2R.metadata<-read_q2metadata(metadata.tsv)pco<-read_qza(unwei...

2 years ago

1 answers
130 views
0
I want to change the label in the legend in scale_fill_discrete

I'm trying to write a line graph showing the aging of the number of diseases in three age groups.The original data is horizontal, so elderlytrendw<-melt(elderlytrend, id.vars=Year, variable.name=Ag...

2 years ago

© 2024 OneMinuteCode. All rights reserved.