From 8ad6fad4b3d12e2e3abff228ba52771b9dee433b Mon Sep 17 00:00:00 2001 From: Chai Bandlamudi Date: Fri, 22 May 2020 01:00:20 -0400 Subject: [PATCH] bug fix --- NAMESPACE | 1 + R/global.R | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/NAMESPACE b/NAMESPACE index 7025531..1709474 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -8,6 +8,7 @@ export(get.gene.pos.cached) export(get_cncf_table) export(get_new_facets_runs_df) export(get_review_status) +export(update_best_fit_status) export(integer.copy.number) export(launch_application) export(launch_application_browser) diff --git a/R/global.R b/R/global.R index b49198f..f872288 100755 --- a/R/global.R +++ b/R/global.R @@ -377,6 +377,10 @@ get_review_status <- function(sample_id, sample_path) { return (reviews %>% arrange(desc(date_reviewed))) } +#' @param sample sampleid +#' @param sample_path facets run directory containing 'facets_review.manifest' +#' @return converts string to numeric and rounds to 2-digits +#' @export update_best_fit_status update_best_fit_status <- function(sample_id, sample_path) { reviews <-