View source: R/createDomainPlot.R
resolveOverlapFeatures | R Documentation |
Modify domain dataframe to resolve overlapped domains/features
resolveOverlapFeatures(domainDf)
domainDf |
input domain dataframe |
Domain dataframe with modified feature names that join multiple domains of the same type that are not overlapped
Vinh Tran tran@bio.uni-frankfurt.de
# get domain data
seedID <- "101621at6656"
domainFile <- system.file(
"extdata", "domainFiles/101621at6656.domains",
package = "PhyloProfile", mustWork = TRUE
)
domainDf <- parseDomainInput(seedID, domainFile, "file")
# get seedDf and orthoDf
subDf <- domainDf[
domainDf$seedID ==
"101621at6656#101621at6656:AGRPL@224129@0:224129_0:001955:1",]
orthoDf <- subDf[subDf$orthoID == "101621at6656:DROME@7227@1:Q9VG04",]
# resolve overlapped featuers
PhyloProfile:::resolveOverlapFeatures(orthoDf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.