分类: 未分类

71 篇文章

ggplot2绘制基因作用元件图
package.list=c("tidyverse","ggsci","ggh4x","aplot","RColorBrewer","ggpubr","cowplot","grid","ggplotify") for (package in package.list) { if (!require(package,character.only=T,…
点图
library(tidyverse) library(ggsci) df <- read_csv("data.csv") p <- read_tsv("group.xls") %>% left_join(.,df,by="sample") %>% unite(.,col="group",group1:group2,sep="_",rem…
方差分析流程
# https://blog.csdn.net/weixin_43566022/article/details/104459148 #一、数据录入 data <- read.table("温度水分字母.txt",sep="\t",header=TRUE,encoding = "UTF-8")#导入数据 head(data)#查看数据 #二、评…
spiralize常规的矩形图画成螺旋形
library(tidyverse) #install.packages("spiralize") library(spiralize) library(ComplexHeatmap) #devtools::install_github("jokergoo/ComplexHeatmap") library(cowplot) library(magi…
标志显著性热图
rm(list=ls()) library(pacman) pacman::p_load(tidyverse,psych,reshape,ggtree,aplot) #对genus进行读取,转置,转为数据框 table1 <- read.delim("genus.xls",header =T,sep="\t", row.names = 1,c…
多组折线图+分层
gapminder<-read.csv("gapminder.csv",header = T) library(ggplot2) p <- ggplot(data = gapminder, mapping = aes( x = year, y = lifeExp, group = country)) p1<-p + geom_li…
同源基因比对
#可以将测序基因组与已知基因集直接进行 blast 比对,然后将比对上的序列提取出来作为基因。 #基因组: NC_009648.1 https://www.ncbi.nlm.nih.gov/nuccore/NC_009648.1/ #质粒: NC_009649.1 https://www.ncbi.nlm.nih.gov/nuccore/NC_00…
微生物的HGT预测
#参考https://github.com/qiyunlab/HGTector/ #Zhu Q, Kosoy M, Dittmar K. HGTector: an automated method facilitating genome-wide discovery of putative #horizontal gene transfers. B…