Alpha多样性可视化
最后发布时间 : 2022-11-05 09:53:49
浏览量 :
Alpha多样性箱线图
SampleID | Group |
---|---|
KO1 | KO |
KO2 | KO |
KO3 | KO |
KO4 | KO |
KO5 | KO |
KO6 | KO |
suppressMessages(library(amplicon))
suppressMessages(library(tidyverse))
alpha_div = read_tsv("https://gitee.com/bioinfoFungi/amplicon/raw/master/results/alpha/vegan.txt",show_col_types = FALSE)
metadata = read_tsv("https://gitee.com/bioinfoFungi/amplicon/raw/master/data/metadata.txt",show_col_types = FALSE)
alpha_boxplot(alpha_div, index = "richness", metadata, groupID = "Group")
Alpha多样性柱状图+标准差
suppressMessages(library(amplicon))
suppressMessages(library(tidyverse))
alpha_div = read_tsv("https://gitee.com/bioinfoFungi/amplicon/raw/master/results/alpha/vegan.txt",show_col_types = FALSE)
metadata = read_tsv("https://gitee.com/bioinfoFungi/amplicon/raw/master/data/metadata.txt",show_col_types = FALSE)
alpha_barplot(alpha_div, metadata, index = "richness", groupID = "Group")