How to bubble in ggplot2 or other package
1
0
Entering edit mode
3.4 years ago
MSRS ▴ 580

I have the data frame from indicspecise R package as below.

organisms indicator_value R_G1 p_G1 R_G2 p_G2 R_G3 p_G3 ..
A .98. 01 .05. .2. 05 .09. 02
B .98 .05 NA .1. 03 .09. 04
C .98 .02.. 02 .07 NA .2 0.02

I want to draw a bubble plot like this "https://ibb.co/Pt7CM7P". can anyone assist me. Thank you for your assistance

R ggplot2 • 835 views
ADD COMMENT
0
Entering edit mode

try dotplot function in clusterprofiler package (R)

ADD REPLY
0
Entering edit mode

Please don't delete a question after someone spends the time to help you.

ADD REPLY
0
Entering edit mode

Apology! Follow in future. Thank you

ADD REPLY
2
Entering edit mode
3.4 years ago
zachary.wu.y ▴ 20

geom_point(aes(size = indicator_value)) will output the raw figure you want.

ADD COMMENT

Login before adding your answer.

Traffic: 1533 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6