Skip to content

Commit

Permalink
v1.2.1: minor updates for CRAN submission
Browse files Browse the repository at this point in the history
  • Loading branch information
daynefiler committed Jul 20, 2022
1 parent 1f4a97e commit bc1ba41
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: toxpiR
Type: Package
Title: Create ToxPi Prioritization Models
Version: 1.2.0
Version: 1.2.1
Authors@R:
c(person("Dayne L", "Filer",
role = c("aut", "cre", "fnd"),
Expand Down
2 changes: 1 addition & 1 deletion R/methods-TxpTransFuncList.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ NULL
## constructor

.TxpTransFuncList.toTransFunc <- function(x) {
if (!is.null(x) && class(x) != "TxpTransFunc") {
if (!is.null(x) && !inherits(x, "TxpTransFunc")) {
x <- try(TxpTransFunc(x), silent = TRUE)
}
x
Expand Down
4 changes: 2 additions & 2 deletions vignettes/introduction.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ This flowchart details the basic steps necessary to analyze data using `toxpiR`.
## Example usage

Data can either be entered as a regular csv file without the header lines specifying slice information, or in one of the GUI input formats. If you are using the GUI format, please refer to the [Import ToxPi GUI files](https://cran.r-project.org/web/packages/toxpiR/vignettes/importFromGui.html) vignette.
Data can either be entered as a regular csv file without the header lines specifying slice information, or in one of the GUI input formats. If you are using the GUI format, please refer to the [Import ToxPi GUI files](https://cran.r-project.org/package=toxpiR/vignettes/importFromGui.html) vignette.

The standard data input is a standard R dataframe with rows as your datapoints and columns as features that may be turned into ToxPi slices. A simple example data set called *txp_example_input* is available within the package. We will use this 10 x 8 toy data to walk through a simple analysis and explain the functions available in this package. These metrics that we have specified can be in completely different scales and data type, but first we will show a simple example of the package usage.

Expand Down Expand Up @@ -246,4 +246,4 @@ plot(f.hc, hang = -1, labels = txpIDs(f.results), xlab = '', sub = '')
## Citation

To cite `toxpiR` in your work, please use:
https://cran.r-project.org/web/packages/toxpiR/index.html (Manuscript currently in review)
https://cran.r-project.org/package=toxpiR (Manuscript currently in review)

0 comments on commit bc1ba41

Please sign in to comment.