Open michela12345 opened 1 year ago
The 2 combined objects have no sequence levels in common.
for this warning ,try https://github.com/YuLab-SMU/ChIPseeker/issues/150#issuecomment-1001315578 to see if it can solve.
if this can not solve your problem, it would be convenient to attach your data file to help you.
Hi I am wanting to switch from my ChIP-seq analysis to displaying the genes that correspond to the peaks I created with MACS2, these are the commands I was doing so I loaded the reference genome and my data
library(BSgenome.Celegans.UCSC.ce10 ) library(ChIPseeker) txdb <- BSgenome.Celegans.UCSC.ce10 setwd("C:/Users/utente/Desktop/Tesi/Dati") samplefiles <- list.files("C:/Users/utente/Desktop/Tesi/Dati", pattern= ".bed", full.names=T) samplefiles <- as.list(samplefiles) names(samplefiles) <- c("H3K27", "H3K36","H3K4")
promoter <- getPromoters(txdb, upstream=500, downstream=500) tagMatrixList <- lapply(samplefiles, getTagMatrix, windows=promoter)
suppressWarnings(getTagMatrix(samplefiles[[1]], windows=promoter), classes = "warning")
but these are the errors I get that I don't understand how to solve
what can I do? Thank you