Package developing and interoperation with Bioconductor
1
0
Entering edit mode
slizchap • 0
@0c734240
Last seen 3 days ago
United States

Hello Everyone

I am building a package for data visualization. It basically just take a data frame and plot genes based on dominance features across variables (Proteins, Tissues, etc). Nevertheless, I am do not require any Bioconductor package for this given that most of the functions are being built with base R and dplyr. Is this a problem by the time I submit the package? It doesn't mean the package can't work with data or structures from other packages.

That being said, if I use an example using packages like summarizedexperiment, can I overcome that limitation for the package to be in Bioconductor?

Any advice would be appreciated!

Thank you.

Package Bioconductor • 1.3k views
ADD COMMENT
0
Entering edit mode

Using an example with SummarizedExperiment would satisfy the requirement; however the package should take the object directly and not just subset the SummarizedExperiment and pipe that into the functions. It is fine to allow use with data frames and simple structures but it should also be compatible with common Bioconductor classes if they exist.

ADD REPLY
0
Entering edit mode

Thank you so much for your answer, very useful!

ADD REPLY
1
Entering edit mode
@james-w-macdonald-5106
Last seen 8 hours ago
United States

Ideally you would have S4 methods that dispatch on the incoming data structure, so people could call your main function using a data.frame or a SummarizedExperiment, and the data would be processed correctly depending on what object type was used. The whole idea of Bioconductor is to provide objects that encapsulate data in a more efficient manner but that are easily manipulated as if they were simpler objects (e.g., you can do object[<subsetting vector>,] with a SummarizedExperiment and it will subset as if it were a data.frame while correctly subsetting the internal structures, and the end user doesn't need to know anything about that).

0
Entering edit mode

Thank you so much for your answer. This was very useful, I will optimize my functions so they can handle SE objects.

ADD REPLY

Login before adding your answer.

Traffic: 656 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6