展开

Alpha多样性可视化

最后发布时间 : 2022-11-05 09:53:49 浏览量 :

Alpha多样性箱线图

SampleIDGroup
KO1KO
KO2KO
KO3KO
KO4KO
KO5KO
KO6KO

metadata

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")

生信小木屋