View source: R/createDomainPlot.R
linearizeArchitecture | R Documentation |
Linearize PFAM/SMART annotations by best e-value/bitscore
linearizeArchitecture(domainDf = NULL, orthoID = NULL, value = "evalue")
domainDf |
input domain dataframe |
orthoID |
ID of protein that needs to be linearized |
value |
type of values that will be used for linearized, either evalue (default) or bitscore |
Domain dataframe of the selected protein after linearization
Vinh Tran tran@bio.uni-frankfurt.de
demoDomainDf <- data.frame(
orthoID = rep("protID", 4),
start = c(1, 5, 100, 80),
end = c(30, 40, 130, 110),
evalue = c(0.001, 0.0005, 0.2, 0.004),
feature_type = c(rep("pfam", 2), rep("smart", 2)),
feature_id = c("pf1", "pf2", "sm1", "sm2")
)
linearizeArchitecture(demoDomainDf, "protID", "evalue")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.