-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1be121a
Showing
10 changed files
with
1,139 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Package: gimmeTools | ||
Title: Supplemental Tools for the 'gimme' R Package | ||
Version: 0.1 | ||
Authors@R: person("Stephanie", "Lane", email = "lane.stephanie.t@gmail.com", role = c("aut", "cre")) | ||
Description: Supplemental tools for the 'gimme' R package. It contains an interactive graphical user interface, allowing for the flexible specification of a variety of both basic and advanced options. It will expand to include a variety of tools for navigating output. | ||
Imports: shiny, shinyjs, rintrojs, easycsv, miniUI, shinyWidgets, | ||
rstudioapi, rhandsontable, magrittr | ||
Depends: R (>= 3.1) | ||
License: GPL-2 | ||
Encoding: UTF-8 | ||
LazyData: true | ||
RoxygenNote: 6.0.1 | ||
URL: https://github.com/stlane | ||
NeedsCompilation: no | ||
Packaged: 2018-04-05 23:08:08 UTC; stlane | ||
Author: Stephanie Lane [aut, cre] | ||
Maintainer: Stephanie Lane <lane.stephanie.t@gmail.com> | ||
Repository: CRAN | ||
Date/Publication: 2018-04-12 12:41:39 UTC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
b52c75fab1a089d9c58dc39577b0f74f *DESCRIPTION | ||
d1bc96b26710ea4c5bf0231fbef40aee *NAMESPACE | ||
221f6ff1ef539a25063d5f3df87bec39 *R/gen_path_mat.R | ||
ee80b55c77622cdccfa25d2cbed70634 *R/gimmeGUI.R | ||
c41e111b9eede550f8c503fe26310010 *R/globals.R | ||
a12bdba2b7c8dbdf427c5ea9462afe0e *R/startup.R | ||
cf3ddb1e1ea7b92b09a58ba147f236a0 *README.md | ||
ba7eedd59be42a9dee7fee410dfcf22e *man/gen_path_mat.Rd | ||
f92e7f6b0079c17488a493e006f88a98 *man/gimmeGUI.Rd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Generated by roxygen2: do not edit by hand | ||
|
||
export(gen_path_mat) | ||
export(gimmeGUI) | ||
import(miniUI) | ||
import(rstudioapi) | ||
import(shiny) | ||
import(utils) | ||
importFrom(easycsv,choose_dir) | ||
importFrom(magrittr,"%>%") | ||
importFrom(rhandsontable,hot_col) | ||
importFrom(rhandsontable,hot_to_r) | ||
importFrom(rhandsontable,rHandsontableOutput) | ||
importFrom(rhandsontable,renderRHandsontable) | ||
importFrom(rhandsontable,rhandsontable) | ||
importFrom(rintrojs,introBox) | ||
importFrom(rintrojs,introjs) | ||
importFrom(rintrojs,introjsUI) | ||
importFrom(shinyWidgets,prettyCheckbox) | ||
importFrom(shinyWidgets,prettyRadioButtons) | ||
importFrom(shinyWidgets,switchInput) | ||
importFrom(shinyWidgets,updateSwitchInput) | ||
importFrom(shinyjs,extendShinyjs) | ||
importFrom(shinyjs,useShinyjs) | ||
importFrom(tools,file_path_sans_ext) | ||
importFrom(utils,read.table) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#' @title Generate path matrix from data file | ||
#' @name gen_path_mat | ||
#' @description Helper function to generate an empty similarity matrix based on | ||
#' header of individual data file | ||
#' @param x The data file | ||
#' @param diag Whether diagonal elements should exist | ||
#' @return Empty matrix with named rows and columns corresponding to individual data files | ||
#' @examples gen_path_mat(data.frame(V1 = rnorm(10, 0, 1), V2 = rnorm(10, 0, 1))) | ||
#' @export | ||
gen_path_mat <- function(x, diag = T){ | ||
mat <- matrix(FALSE, nrow = ncol(x), ncol = ncol(x)) | ||
rownames(mat) <- colnames(mat) <- colnames(x) | ||
if (diag == F) diag(mat) <- NA | ||
return(mat) | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#' @import utils | ||
utils::globalVariables(c("js")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.onAttach <- function(...) { | ||
packageStartupMessage((strwrap("New to gimme? Type gimmeGUI() and select the Getting Started Guide to get up and running."))) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# gimmeGUI | ||
Graphical user interface for the gimme R package. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.