Comments (4)
Hi,
thanks for pointing out the error. I'll be looking into it and let you know what we found as soon as possible.
from bindingsitefinder.
I looked into your error and I can't reproduce the error.
I've tested the example from the help that you've posted with your R version (4.3.2) and it works just fine.
Could you please try to setup a clean version of your environment and try to run the example again. If that does not help, then make sure that you have only packages relevant for BindingSiteFinder
installed. This helps to further isolate the error.
from bindingsitefinder.
Hi, I found why the error happened during calculateBsBackground.
It was a problem on my gns (gene annotation) object.
This was the function I used for making a gene annotation object.
`create_gns_object <- function(file) {
annoDb = GenomicFeatures::makeTxDbFromGFF(file = file, format = "gtf")
annoInfo = rtracklayer::import(file, format = "gtf")
gns = genes(annoDb)
idx = match(gns$gene_id, annoInfo$gene_id)
elementMetadata(gns) = cbind(elementMetadata(gns),
elementMetadata(annoInfo)[idx,])
gns
}`
Since my annotation file was a gtf format, I used a similar code but imported with format = gtf
Then, I had two columns of gene_id
, leading to an error in the downstream functions such as calculateBsBackground.
I fixed the problem with erasing one of the gene_id column.
Then, the code worked perfectly fine after I fixed my annotation object.
Thanks for your help!
from bindingsitefinder.
Perfect thanks for reporting this. We should include a specific error message for duplication of the gene_id column!
from bindingsitefinder.
Related Issues (10)
- ! Can't recycle `quantiles` (size 101) to size 0. HOT 2
- Fix version number in devel HOT 1
- mergeCrosslinksDiagnosticsPlot() Description HOT 1
- Error in .subset_by_GenomicRanges(x, i): 'x' must have unique names when subsetting by a GenomicRanges subscript HOT 4
- Problems if not all samples have the same chromosomes HOT 2
- Target gene assignment in vignette: Problem with "_PAR_Y" HOT 1
- Error when extending plots with theme from ggplot
- 3.3 Transcript region assignment - typo? HOT 1
- help with an erro please HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bindingsitefinder.