五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

【醫(yī)學(xué)生學(xué)R語言】箱式圖、小提琴圖、氣泡圖代碼

2020-04-08 14:56 作者:惡霸小猴子  | 我要投稿

【醫(yī)學(xué)生學(xué)R語言系列】

1 我的認識:BV1Tg4y187ge

2 基礎(chǔ)知識:BV1qK411771x

3 散點圖:BV1GQ4y1M7ne? BV17e411x77q

4 分面:BV1hV411f7o9

5 曲線圖:BV1mK4y1C7n4

6 柱形圖:BV1B541167kU

7 圖形位置:BV1Pc411h7mR

8 坐標(biāo)軸:BV1vk4y1d73c

9 主題、標(biāo)尺:BV1JC4y1s7FT

10 箱式圖、小提琴圖:

11 氣泡圖:

箱式圖

> library(ggplot2)

> setwd("C:\\Users\\Administrator\\Desktop\\教程文件夾")

> mydata= read.csv("boxplot.csv",row.names = 1)

> ggplot(mydata) +

? ? aes(x = Group, y = Level) +?

? ? geom_boxplot(alpha = .25,notch = TRUE)+

? ? geom_jitter(alpha = .5,?

? ? ? ? ? ? ? ? height = 0,?

? ? ? ? ? ? ? ? width = .25) +

? ? aes(color = Group, fill = Group) +

? ? scale_color_manual(values =?

? ? ? ? ? ? ? ? ? ? ? ? c("blue", "red")) +

? ? scale_fill_manual(values =?

? ? ? ? ? ? ? ? ? ? ? c("blue", "red")) +

? ? theme_bw() +

? ? labs(title = "關(guān)注B站UP主--小猴子_愛你呀呀") +

? ? labs(subtitle = "一鍵三連哦") +

? ? labs(caption = "233333")

小提琴圖

> library(ggplot2)

> setwd("C:\\Users\\Administrator\\Desktop\\教程文件夾")

>?mydata= read.csv("boxplot.csv",row.names = 1)

> ggplot(mydata) +

? ? aes(x = Group, y = Level) +?

? ? geom_violin(alpha = .25, draw_quantiles = c(0.25, 0.5, 0.75))?

? ? geom_jitter(alpha = .5,?

? ? ? ? ? ? ? ? height = 0,?

? ? ? ? ? ? ? ? width = .25) +

? ? aes(color = Group, fill = Group) +

? ? scale_color_manual(values =?

? ? ? ? ? ? ? ? ? ? ? ? c("blue", "red")) +

? ? scale_fill_manual(values =?

? ? ? ? ? ? ? ? ? ? ? c("blue", "red")) +

? ? theme_bw() +

? ? labs(title = "關(guān)注B站UP主--小猴子_愛你呀呀") +

? ? labs(subtitle = "一鍵三連哦") +

? ? labs(caption = "233333")

氣泡圖

> library(ggplot2)

> setwd("E:\\R")

> mydata = read.table("R0-vs-R3.path.richFactor.head20.tsv",header=T,sep="\t")

> ggplot(mydata) +

? ? aes(x = richFactor, y = Pathway) +?

? ? geom_point() +

? ? aes(size = R0vsR3,color=-1*log10(Qvalue)) +

? ? scale_colour_gradient(

? ? ? ? ? ? ? ? ? ? ?low="green",high="red") +

? ? theme_bw() +

? ? labs(title="Top20 of pathway??

? ? ? ? enrichment", color=expression(-

? ? ? ? log[10](Qvalue)),size="Gene?

? ? ? ? number",x="Rich factor",y="Pathway?

? ? ? ? name")

祝作圖順利?。“琢藗€白~~

【醫(yī)學(xué)生學(xué)R語言】箱式圖、小提琴圖、氣泡圖代碼的評論 (共 條)

分享到微博請遵守國家法律
宁南县| 广宁县| 泾阳县| 沅江市| 沾益县| 吴川市| 田东县| 滁州市| 巴东县| 云安县| 建湖县| 罗城| 巴林左旗| 宁津县| 迁西县| 正安县| 江城| 江陵县| 抚宁县| 建宁县| 景东| 黎城县| 平远县| 晋城| 霍州市| 塔城市| 乐平市| 平凉市| 兴化市| 井研县| 河东区| 樟树市| 永善县| 大厂| 宿松县| 筠连县| 民乐县| 内丘县| 金塔县| 古田县| 饶河县|