Skip to content

Commit

Permalink
Name updates
Browse files Browse the repository at this point in the history
  • Loading branch information
moi-taiga committed Jun 24, 2024
1 parent 3f49f47 commit 9d62db8
Show file tree
Hide file tree
Showing 16 changed files with 31 additions and 163 deletions.
10 changes: 4 additions & 6 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,15 @@
export(calculate_variance)
export(calculate_zscore)
export(plot_position)
export(ppr_accuracy_test)
export(ppr_cell_plot)
export(ppr_precision)
export(ppr_timeline_plot)
export(accuracy_test)
export(cell_plot)
export(precision)
export(timeline_plot)
export(predict_position)
export(print.PPR_OBJECT)
export(subset_switching_genes)
export(which_mid_max)
exportClasses(PPR_OBJECT)
import(ggplot2)
import(ggrepel)
importFrom(GeneSwitches,filter_switchgenes)
importFrom(ggplot2,aes)
importFrom(ggplot2,aes_string)
Expand Down
2 changes: 1 addition & 1 deletion R/ppr_accuracy_test.R → R/accuracy_test.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#' If plot = TRUE, returns a the accuracy data frame.
#' @importFrom graphics abline hist text
#' @export
ppr_accuracy_test <- function(sample_ppr, reference_sce, plot = TRUE) {
accuracy_test <- function(sample_ppr, reference_sce, plot = TRUE) {
# Create a data frame to store the accuracy results
accuracy <- data.frame(
# Cell names from reference_sce
Expand Down
2 changes: 1 addition & 1 deletion R/ppr_cell_plot.R → R/cell_plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#' @importFrom graphics segments text lines
#' @export
#'
ppr_cell_plot <- function(sample_ppr,
cell_plot <- function(sample_ppr,
cell_idx = 1,
col = "red",
overlay = FALSE,
Expand Down
113 changes: 0 additions & 113 deletions R/ppr_racinglines_plot.R

This file was deleted.

6 changes: 3 additions & 3 deletions R/ppr_precision.R → R/precision.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' ppr_precision
#' precision
#'
#' @description
#' Used to find the optimum r2cutoff to use,
Expand All @@ -15,7 +15,7 @@
#'
#'
#' @export
ppr_precision <- function(sce,
precision <- function(sce,
r2_cutoff_range = seq(0.0, 0.5, 0.1),
plot = TRUE) {

Expand Down Expand Up @@ -58,7 +58,7 @@ ppr_precision <- function(sce,
sample_ppr <- predict_position(sample_reduced, switching_genes)

#
accuracy <- ppr_accuracy_test(sample_ppr = sample_ppr,
accuracy <- accuracy_test(sample_ppr = sample_ppr,
reference_sce = sce, plot = FALSE)

#
Expand Down
2 changes: 1 addition & 1 deletion R/ppr_timeline_plot.R → R/timeline_plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#'
#'
#' @export
ppr_timeline_plot <- function(switching_genes,
timeline_plot <- function(switching_genes,
genomic_expression_traces = FALSE,
reduced_sce = NULL,
cell_id = 1) {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion man/PPR_OBJECT-class.Rd

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

8 changes: 4 additions & 4 deletions man/ppr_accuracy_test.Rd

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

8 changes: 4 additions & 4 deletions man/ppr_cell_plot.Rd

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

10 changes: 5 additions & 5 deletions man/ppr_precision.Rd

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

25 changes: 4 additions & 21 deletions man/ppr_timeline_plot.Rd

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

2 changes: 1 addition & 1 deletion man/print-PPR_OBJECT-method.Rd

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

2 changes: 1 addition & 1 deletion man/print.PPR_OBJECT.Rd

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

2 changes: 1 addition & 1 deletion man/which_mid_max.Rd

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

0 comments on commit 9d62db8

Please sign in to comment.