<div dir="ltr">Caríssimos(as), boa tarde!<div><br></div><div>Espero que todos se encontrem bem.</div><div><br></div><div>Estou tentando plotar um gráfico de bolhas e estou com problemas com as cores. A mensagem de erro é a seguinte: </div><div><pre tabindex="0" aria-label="Console Output" role="document" class="gmail-GEL-OVUBJ2B" id="gmail-rstudio_console_output" style="font-family:"Ubuntu Mono",monospace;font-size:18.6667px;outline:none;border:none;word-break:break-all;margin-top:0px;margin-bottom:0px;line-height:1.25;color:rgb(255,255,255);background-color:rgb(15,15,15);white-space:pre-wrap"><span tabindex="-1" class="gmail-GEL-OVUBK2B" role="document" style="outline:none"><span class="gmail-GEL-OVUBJ2B gmail-xtermBold gmail-xtermColor3" style="outline:none;border:none;word-break:break-all;margin:0px;font-weight:bold;color:rgb(196,160,0)"></span></span></pre><pre tabindex="0" aria-label="Console Output" role="document" class="gmail-GEL-OVUBJ2B" id="gmail-rstudio_console_output" style="font-family:"Ubuntu Mono",monospace;font-size:18.6667px;outline:none;border:none;word-break:break-all;margin-top:0px;margin-bottom:0px;line-height:1.25;color:rgb(255,255,255);background-color:rgb(15,15,15);white-space:pre-wrap"><span tabindex="-1" class="gmail-GEL-OVUBK2B" role="document" style="outline:none"><span class="gmail-GEL-OVUBJ2B gmail-xtermBold gmail-xtermColor3" style="outline:none;border:none;word-break:break-all;margin:0px;font-weight:bold;color:rgb(196,160,0)"></span></span></pre><pre tabindex="0" aria-label="Console Output" role="document" class="gmail-GEL-OVUBJ2B" id="gmail-rstudio_console_output" style="font-family:"Ubuntu Mono",monospace;font-size:18.6667px;outline:none;border:none;word-break:break-all;margin-top:0px;margin-bottom:0px;line-height:1.25;color:rgb(255,255,255);background-color:rgb(15,15,15);white-space:pre-wrap"><span tabindex="-1" class="gmail-GEL-OVUBK2B" role="document" style="outline:none"><span class="gmail-GEL-OVUBJ2B gmail-xtermBold gmail-xtermColor3" style="outline:none;border:none;word-break:break-all;margin:0px;font-weight:bold;color:rgb(196,160,0)"></span></span></pre><br></div><div><img src="cid:ii_l3ubcj2c1" alt="image.png" width="471" height="117"><br></div><div>O comando foi: </div><div><br></div><div>bubble_plot <- ggplot(m3,aes(replicates_list, gene_per)) +<br>    geom_point(aes(size=gene_per, fill=gene_col),shape=21,color="black") +<br>    theme(panel.grid.major=element_line(linetype=1,color="grey"),<br>          axis.text.x=element_text(angle=90,hjust=1,vjust=0),<br>          panel.background = element_blank()) +<br>    ylab("Gene ID") +<br>    xlab("Prostate Adenocarcinome cell types") +<br>  scale_fill_discrete(name="Expression values")+<br>  scale_size(name="% of cells with expression")<br>    <br>bubble_plot<br></div><div><br></div><div>Minha intenção é que haja um gradiente de cores (tipo heatmap) para valores que vão de 0.01 a 5.</div><div><br></div><div>e o resultado que espero ver é algo semelhante a isto: </div><div><br></div><div><img src="cid:ii_l3ubfcpn2" alt="image.png" width="366" height="471"><br></div><div><br></div><div>Por favor, me ajudem! Falta só isto para plotar o gráfico!</div><div>Aproveito a oportunidade para perdir-lhes indicações de cursos online brasileiros de R.</div><div><br></div><div>Muitíssimo obrigada pela atenção,</div><div><br></div><div>Michele</div><div><pre tabindex="0" aria-label="Console Output" role="document" class="gmail-GEL-OVUBJ2B" id="gmail-rstudio_console_output" style="font-family:"Ubuntu Mono",monospace;font-size:18.6667px;outline:none;border:none;word-break:break-all;margin-top:0px;margin-bottom:0px;line-height:1.25;color:rgb(255,255,255);background-color:rgb(15,15,15);white-space:pre-wrap"><span tabindex="-1" class="gmail-GEL-OVUBK2B" role="document" style="outline:none"><span class="gmail-GEL-OVUBJ2B gmail-xtermBold gmail-xtermColor3" style="outline:none;border:none;word-break:break-all;margin:0px;font-weight:bold;color:rgb(196,160,0)"></span></span></pre>--------------------------------------------------------------------------</div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><i><b>Dra. Michele Claire Breton</b></i></div><div>Técnica Superior em Bioinformática</div><div>Doutora em Biologia Celular e Molecular</div><div>CICS - Centro de Investigação em Ciências da Saúde</div><div>Faculdade de Ciências da Saúde</div><div>Universidade da Beira Interior</div><div>Covilhã - Castelo Branco - Portugal</div></div></div></div></div>