Skip to content

Commit

Permalink
renamed to PhyloRBF
Browse files Browse the repository at this point in the history
  • Loading branch information
trvinh committed Jul 9, 2021
1 parent 39d0699 commit a0ba47c
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 45 deletions.
2 changes: 0 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,3 @@ Don't hesitate to get in touch with us if you have any questions. You can contac

### Contributors
* [Vinh Tran](https://github.com/trvinh)
* [Bastian Greshake Tzovaras](https://github.com/gedankenstuecke)
* [Carla Moelbert](https://github.com/CarlaMoelbert)
10 changes: 5 additions & 5 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Package: PhyloProfileRibi
Package: PhyloRBF
Version: 1.0.0
Date: 2021-06-22
Title: PhyloProfileRibi
Date: 2021-07-09
Title: PhyloRBF
Authors@R: c(
person("Vinh", "Tran", role = c("aut", "cre"), email = "[email protected]"),
person("Bastian", "Greshake Tzovaras", role = "aut", email = "[email protected]"),
person("Ingo", "Ebersberger", role = "aut", email = "[email protected]"),
person("Carla", "Mölbert", role = "ctb", email = "[email protected]"))
Description: PhyloProfile is a tool for exploring complex phylogenetic profiles. Phylogenetic profiles, presence/absence patterns of genes over a set of species, are commonly used to trace the functional and evolutionary history of genes across species and time. With PhyloProfile we can enrich regular phylogenetic profiles with further data like sequence/structure similarity, to make phylogenetic profiling more meaningful. Besides the interactive visualisation powered by R-Shiny, the package offers a set of further analysis features to gain insights like the gene age estimation or core gene identification.
URL: https://github.com/BIONF/PhyloProfileRibi/
BugReports: https://github.com/BIONF/PhyloProfileRibi/issues
URL: https://github.com/BIONF/PhyloRBF/
BugReports: https://github.com/BIONF/PhyloRBF/issues
License: MIT + file LICENSE
Depends: R (>= 4.1.0)
Encoding: UTF-8
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Vinh Tran
Copyright (c) 2021 Vinh Tran

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export(getNameListCr)
export(getSelectedTaxonNamesCr)
export(getTaxonomyMatrixCr)
export(highlightProfilePlotCr)
export(runPhyloProfileRibi)
export(runPhyloRBF)
export(sortInputTaxaCr)
import(BiocStyle)
import(DT)
Expand Down
2 changes: 1 addition & 1 deletion R/createProfilePlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ highlightProfilePlotCr <- function(
if (taxonHighlight != "none") {
# get selected highlight taxon ID
nameReducedFile <- paste(
system.file(package = "PhyloProfileRibi"),
system.file(package = "PhyloRBF"),
"PhyloProfile/data/taxonNamesReduced.txt", sep="/")
if (!file.exists(nameReducedFile)) {
taxonNamesReduced <- NULL
Expand Down
4 changes: 2 additions & 2 deletions R/parsePhyloProfile.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

getNameListCr <- function() {
nameReducedFile <- paste(
system.file(package="PhyloProfileRibi"),
system.file(package="PhyloRBF"),
"PhyloProfile/data/taxonNamesReduced.txt",
sep="/"
)
Expand Down Expand Up @@ -41,7 +41,7 @@ getNameListCr <- function() {

getTaxonomyMatrixCr <- function(subsetTaxaCheck = FALSE, taxonIDs = NULL){
taxonomyMatrixFile <- paste(
system.file(package="PhyloProfileRibi"),
system.file(package="PhyloRBF"),
"PhyloProfile/data/taxonomyMatrix.txt",
sep="/"
)
Expand Down
6 changes: 3 additions & 3 deletions R/runPhyloprofile.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
#' @rawNamespace import(RCurl, except = reset)
#' @rawNamespace import(shinyjs, except = colourInput)

runPhyloProfileRibi <- function(){
appDir <- system.file("PhyloProfile", package = "PhyloProfileRibi")
runPhyloRBF <- function(){
appDir <- system.file("PhyloProfile", package = "PhyloRBF")
if (appDir == "") {
stop(
"Could not find apps directory. Try re-installing `PhyloProfileRibi`.",
"Could not find apps directory. Try re-installing `PhyloRBF`.",
call = FALSE
)
}
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PhyloProfileRibi
# PhyloRBF

The data of PhyloProfile Ribosome Biogenesis is displayed for an interactive exploration of the [feature-aware phylogenetic profile of ???](https://applbio.biologie.uni-frankfurt.de/phyloprofileribi/).
The data of PhyloProfile Ribosome Biogenesis is displayed for an interactive exploration of the [feature-aware phylogenetic profile of ???](https://applbio.biologie.uni-frankfurt.de/PhyloRBF/).
This is a lite version of [PhyloProfile](https://github.com/BIONF/PhyloProfile), which is pre-configured only for its use with the [Ribosome biogenesis data](https://applbio.biologie.uni-frankfurt.de/download/RibosomeBiogenesis/).

# Table of Contents
Expand All @@ -21,10 +21,10 @@ Feature-aware phylogenetic profile of the yeast ribosome biogenesis genes across
* For further details on the biological interpretation of the data, please refer to the article [DO WE HAVE A LINK SOMEWHERE](https://www.biorxiv.org/content/10.1101/2021.01.29.428808v2).

# Bugs
Any bug reports or comments, suggestions are highly appreciated. Please [open an issue on GitHub](https://github.com/BIONF/PhyloProfileRibi/issues/new) or be in touch via email.
Any bug reports or comments, suggestions are highly appreciated. Please [open an issue on GitHub](https://github.com/BIONF/PhyloRBF/issues/new) or be in touch via email.

# License
This tool is released under [MIT license](https://github.com/BIONF/PhyloProfileRibi/blob/master/LICENSE).
This tool is released under [MIT license](https://github.com/BIONF/PhyloRBF/blob/master/LICENSE).

# Contact
Ingo Ebersberger
Expand Down
6 changes: 3 additions & 3 deletions inst/PhyloProfile/R/createProfilePlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ createProfilePlot <- function(input, output, session,
if (inSeq()[1] == "all" & inTaxa()[1] == "all") return()
}
withProgress(message = 'PLOTTING...', value = 0.5, {
PhyloProfileRibi::highlightProfilePlotCr(
PhyloRBF::highlightProfilePlotCr(
dataHeat(),
parameters(),
taxonHighlight(),
Expand Down Expand Up @@ -103,7 +103,7 @@ createProfilePlot <- function(input, output, session,
content = function(file) {
ggsave(
file,
plot = PhyloProfileRibi::highlightProfilePlotCr(
plot = PhyloRBF::highlightProfilePlotCr(
dataHeat(), parameters(), "none", rankSelect(), "none"
),

Expand All @@ -116,7 +116,7 @@ createProfilePlot <- function(input, output, session,
# get info of clicked point on heatmap plot --------------------------------
selectedpointInfo <- reactive({
# get selected supertaxon name
taxaList <- PhyloProfileRibi::getNameListCr()
taxaList <- PhyloRBF::getNameListCr()
rankName <- rankSelect()
inSelect <- taxaList$ncbiID[taxaList$fullName == inSelect()]

Expand Down
16 changes: 8 additions & 8 deletions inst/PhyloProfile/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ shinyServer(function(input, output, session) {
withProgress(message = 'Reading main input...', value = 0.5, {
# inFile <- system.file(
# "extdata", "ribi/ribi.phyloprofile",
# package="PhyloProfileRibi"
# package="PhyloRBF"
# )
inFile <- "data/ribi.phyloprofile"
longDataframe <- createLongMatrix(inFile)
Expand Down Expand Up @@ -265,7 +265,7 @@ shinyServer(function(input, output, session) {
domainFile <- "data/ribi.domains"
# domainFile <- system.file(
# "extdata", "ribi/ribi.domains",
# package="PhyloProfileRibi"
# package="PhyloRBF"
# )
domainDf <- parseDomainInput(NULL, domainFile, "file")
return(domainDf)
Expand All @@ -286,7 +286,7 @@ shinyServer(function(input, output, session) {
req(getMainInput())
if (input$rankSelect == "") return()
withProgress(message = 'Getting input taxon names...', value = 0.5, {
inputTaxaName <- PhyloProfileRibi::getInputTaxaNameCr(
inputTaxaName <- PhyloRBF::getInputTaxaNameCr(
input$rankSelect, inputTaxonID()
)
return(inputTaxaName)
Expand All @@ -299,12 +299,12 @@ shinyServer(function(input, output, session) {
# get input taxonomy tree
# treeIn <- system.file(
# "extdata", "ribi/ribi.nwk",
# package="PhyloProfileRibi"
# package="PhyloRBF"
# )
# inputTaxaTree <- read.tree(file = treeIn)

# sort taxonomy matrix based on selected refTaxon
sortedOut <- PhyloProfileRibi::sortInputTaxaCr(
sortedOut <- PhyloRBF::sortInputTaxaCr(
taxonIDs = inputTaxonID(),
rankName = input$rankSelect,
refTaxon = getRefspec(input$rankSelect),
Expand Down Expand Up @@ -1045,7 +1045,7 @@ shinyServer(function(input, output, session) {
fastain <- "data/ribi.fasta"
# fastain <- system.file(
# "extdata", "ribi/ribi.fasta",
# package="PhyloProfileRibi"
# package="PhyloRBF"
# )
fastaOut <- getFastaFromFile(seqID, fastain)
return(paste(fastaOut[1]))
Expand Down Expand Up @@ -1074,7 +1074,7 @@ shinyServer(function(input, output, session) {
fastain <- "data/ribi.fasta"
# fastain <- system.file(
# "extdata", "ribi/ribi.fasta",
# package="PhyloProfileRibi"
# package="PhyloRBF"
# )
mainFastaOut <- getFastaFromFile(seqIDs, fastain)
return(mainFastaOut)
Expand All @@ -1100,7 +1100,7 @@ shinyServer(function(input, output, session) {
fastain <- "data/ribi.fasta"
# fastain <- system.file(
# "extdata", "ribi/ribi.fasta",
# package="PhyloProfileRibi"
# package="PhyloRBF"
# )
fastaOutDf <- getFastaFromFile(seqIDs, fastain)
return(fastaOutDf)
Expand Down
6 changes: 3 additions & 3 deletions inst/PhyloProfile/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ shinyUI(
useShinyjs(),

# Application title
titlePanel("", windowTitle = "PhyloProfileRibi"),
titlePanel("", windowTitle = "PhyloRBF"),

# TOP WELLPANEL FOR PLOT CONFIGURATION ---------------------------------
conditionalPanel(
Expand Down Expand Up @@ -149,7 +149,7 @@ shinyUI(

# MAIN NARVARPAGE TABS -------------------------------------------------
navbarPage(
em(strong("PhyloProfile Ribosome Biogenesis")),
em(strong("PhyloRBF")),
id = "tabs",
collapsible = TRUE,
inverse = TRUE,
Expand Down Expand Up @@ -326,7 +326,7 @@ shinyUI(
tabPanel(
a(
"About",
href = "https://BIONF.github.io/PhyloProfileRibi/",
href = "https://BIONF.github.io/PhyloRBF/",
target = "_blank"
)
)
Expand Down
20 changes: 11 additions & 9 deletions man/highlightProfilePlotCr.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/runPhyloProfileRibi.Rd → man/runPhyloRBF.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a0ba47c

Please sign in to comment.