diff --git a/.Rproj.user/3B95E4F6/pcs/workbench-pane.pper b/.Rproj.user/3B95E4F6/pcs/workbench-pane.pper index 0e24b84..b15bf23 100644 --- a/.Rproj.user/3B95E4F6/pcs/workbench-pane.pper +++ b/.Rproj.user/3B95E4F6/pcs/workbench-pane.pper @@ -1,5 +1,5 @@ { - "TabSet1" : 0, + "TabSet1" : 3, "TabSet2" : 0, "TabZoom" : { } diff --git a/.Rproj.user/3B95E4F6/persistent-state b/.Rproj.user/3B95E4F6/persistent-state index 46671f6..0d59b13 100644 --- a/.Rproj.user/3B95E4F6/persistent-state +++ b/.Rproj.user/3B95E4F6/persistent-state @@ -1,8 +1,8 @@ build-last-errors="[]" build-last-errors-base-dir="~/Desktop/lab_shared_code/SigProfilerPlottingR/" -build-last-outputs="[{\"output\":\"==> R CMD INSTALL --preclean --no-multiarch --with-keep.source SigProfilerPlottingR\\n\\n\",\"type\":0},{\"output\":\"* installing to library ‘/Users/ebergstr/Library/R/3.5/library’\\n\",\"type\":1},{\"output\":\"* installing *source* package ‘SigProfilerPlottingR’ ...\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"** R\\n\",\"type\":1},{\"output\":\"** byte-compile and prepare package for lazy loading\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"** help\\n\",\"type\":1},{\"output\":\"*** installing help indices\\n\",\"type\":1},{\"output\":\"** building package indices\\n\",\"type\":1},{\"output\":\"** testing if installed package can be loaded\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"* DONE (SigProfilerPlottingR)\\n\",\"type\":1},{\"output\":\"\",\"type\":1}]" +build-last-outputs="[{\"output\":\"==> R CMD INSTALL --preclean --no-multiarch --with-keep.source SigProfilerPlottingR\\n\\n\",\"type\":0},{\"output\":\"* installing to library ‘/Users/ebergstr/Library/R/3.5/library’\\n\",\"type\":1},{\"output\":\"* installing *source* package ‘SigProfilerPlottingR’ ...\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"** R\\n\",\"type\":1},{\"output\":\"** byte-compile and prepare package for lazy loading\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"** help\\n\",\"type\":1},{\"output\":\"*** installing help indices\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"** building package indices\\n\",\"type\":1},{\"output\":\"** testing if installed package can be loaded\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"* DONE (SigProfilerPlottingR)\\n\",\"type\":1},{\"output\":\"\",\"type\":1}]" compile_pdf_state="{\"errors\":[],\"output\":\"\",\"running\":false,\"tab_visible\":false,\"target_file\":\"\"}" files.monitored-path="" find-in-files-state="{\"handle\":\"\",\"input\":\"\",\"path\":\"\",\"regex\":true,\"results\":{\"file\":[],\"line\":[],\"lineValue\":[],\"matchOff\":[],\"matchOn\":[]},\"running\":false}" -imageDirtyState="1" -saveActionState="-1" +imageDirtyState="0" +saveActionState="0" diff --git a/.Rproj.user/3B95E4F6/sources/s-2C62769B/114BF1B8-contents b/.Rproj.user/3B95E4F6/sources/s-2C62769B/114BF1B8-contents deleted file mode 100644 index e69de29..0000000 diff --git a/.Rproj.user/3B95E4F6/sources/s-2C62769B/45AAA0A7-contents b/.Rproj.user/3B95E4F6/sources/s-2C62769B/45AAA0A7-contents deleted file mode 100644 index e69de29..0000000 diff --git a/.Rproj.user/3B95E4F6/sources/s-2C62769B/90BB4D12-contents b/.Rproj.user/3B95E4F6/sources/s-2C62769B/90BB4D12-contents deleted file mode 100644 index db97b4e..0000000 --- a/.Rproj.user/3B95E4F6/sources/s-2C62769B/90BB4D12-contents +++ /dev/null @@ -1,37 +0,0 @@ -#' @title -#' -#' @description -#' -#' @param -#' -#' @return -#' -#' @examples -#' -#' @export plotSBS - -plotSBS <- function(matrix_path, output_path, project, plot_type, percentage=FALSE) { - os <- reticulate::import("os") - sys <- reticulate::import("sys") - sigPlt <- reticulate::import("SigProfilerPlotting") - sigPlt$plotSBS(matrix_path, output_path, project, plot_type, percentage) - sys$stdout$flush() -} - -#' @export plotDBS -plotDBS <- function(matrix_path, output_path, project, plot_type, percentage=FALSE) { - os <- reticulate::import("os") - sys <- reticulate::import("sys") - sigPlt <- reticulate::import("SigProfilerPlotting") - sigPlt$plotDBS(matrix_path, output_path, project, plot_type, percentage) - sys$stdout$flush() -} - -#' @export plotID -plotID <- function(matrix_path, output_path, project, plot_type, percentage=FALSE) { - os <- reticulate::import("os") - sys <- reticulate::import("sys") - sigPlt <- reticulate::import("SigProfilerPlotting") - sigPlt$plotID(matrix_path, output_path, project, plot_type, percentage) - sys$stdout$flush() -} diff --git a/.Rproj.user/3B95E4F6/sources/s-2C62769B/952AD172-contents b/.Rproj.user/3B95E4F6/sources/s-2C62769B/952AD172-contents deleted file mode 100644 index e69de29..0000000 diff --git a/.Rproj.user/3B95E4F6/sources/s-2C62769B/CF8B658B-contents b/.Rproj.user/3B95E4F6/sources/s-2C62769B/CF8B658B-contents deleted file mode 100644 index e69de29..0000000 diff --git a/.Rproj.user/3B95E4F6/sources/s-2C62769B/D00BFD16 b/.Rproj.user/3B95E4F6/sources/s-2C62769B/D00BFD16 deleted file mode 100644 index b7e986e..0000000 --- a/.Rproj.user/3B95E4F6/sources/s-2C62769B/D00BFD16 +++ /dev/null @@ -1,22 +0,0 @@ -{ - "collab_server" : "", - "contents" : "", - "created" : 1564772397662.000, - "dirty" : false, - "encoding" : "UTF-8", - "folds" : "", - "hash" : "0", - "id" : "D00BFD16", - "lastKnownWriteTime" : 1564773417, - "last_content_update" : 1564773417499, - "path" : "~/Desktop/lab_shared_code/SigProfilerPlottingR/R/SigProfilerPlottingR.R", - "project_path" : "R/SigProfilerPlottingR.R", - "properties" : { - "cursorPosition" : "41,4", - "scrollLine" : "25" - }, - "relative_order" : 1, - "source_on_save" : false, - "source_window" : "", - "type" : "r_source" -} \ No newline at end of file diff --git a/.Rproj.user/3B95E4F6/sources/s-2C62769B/D00BFD16-contents b/.Rproj.user/3B95E4F6/sources/s-2C62769B/D00BFD16-contents deleted file mode 100644 index 43a1305..0000000 --- a/.Rproj.user/3B95E4F6/sources/s-2C62769B/D00BFD16-contents +++ /dev/null @@ -1,46 +0,0 @@ -#' @title -#' -#' @description -#' -#' @param -#' -#' @return -#' -#' @examples -#' -#' @export plotSBS - -plotSBS <- function(matrix_path, output_path, project, plot_type, percentage=FALSE) { - os <- reticulate::import("os") - sys <- reticulate::import("sys") - sigPlt <- reticulate::import("sigProfilerPlotting") - sigPlt$plotSBS(matrix_path, output_path, project, plot_type, percentage) - sys$stdout$flush() -} - -#' @export plotDBS -plotDBS <- function(matrix_path, output_path, project, plot_type, percentage=FALSE) { - os <- reticulate::import("os") - sys <- reticulate::import("sys") - sigPlt <- reticulate::import("sigProfilerPlotting") - sigPlt$plotDBS(matrix_path, output_path, project, plot_type, percentage) - sys$stdout$flush() -} - -#' @export plotID -plotID <- function(matrix_path, output_path, project, plot_type, percentage=FALSE) { - os <- reticulate::import("os") - sys <- reticulate::import("sys") - sigPlt <- reticulate::import("sigProfilerPlotting") - sigPlt$plotID(matrix_path, output_path, project, plot_type, percentage) - sys$stdout$flush() -} - -#' @export samplePortrait -samplePortrait <- function(sample_matrices_path, output_path, project, percentage=FALSE){ - os <- reticulate::import("os") - sys <- reticulate::import("sys") - sp <- reticulate::import("sigProfilerPlotting.sample_portrait") - sp$samplePortrait(sample_matrices_path, output_path, project, percentage) - sys$stdout$flush() -} diff --git a/.Rproj.user/3B95E4F6/sources/s-2C62769B/lock_file b/.Rproj.user/3B95E4F6/sources/s-2C62769B/lock_file deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5b6a065 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.Rproj.user +.Rhistory +.RData +.Ruserdata diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..be0ce48 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +language: R + +sudo: false +cache: packages +warnings_are_errors: false +r: + - release + - devel