Skip to content

Commit

Permalink
move Example code to Examples section on createGiottoInstructions doc…
Browse files Browse the repository at this point in the history
…umentation
  • Loading branch information
josschavezf committed Nov 2, 2021
1 parent 9ccd8bd commit 4fa97a3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 27 deletions.
23 changes: 9 additions & 14 deletions R/giotto.R
Original file line number Diff line number Diff line change
Expand Up @@ -327,23 +327,18 @@ set_giotto_python_path = function(python_path = NULL,
#'
#' }
#'
#'#' Specific saving instructions can also be directly provided for each plotting function.
#' See \code{\link{showSaveParameters}} for more details
#'
#' Example:
#'
#' ```
#' instructions <- createGiottoInstruction(python_path = '/path/to/python',
#' save_plot = TRUE,
#' save_dir = '/path/to/working/dir'")
#'
#'
#' giotto_object <- createGiottoObject(raw_exprs = '/path/to/expression/matrix',
#' spatial_locs = '/path/to/spatial/locations',
#' instructions = instructions")
#' ```
#' @examples
#' instructions <- createGiottoInstruction(python_path = '/path/to/python',
#' save_plot = TRUE,
#' save_dir = '/path/to/working/dir')
#'
#' Specific saving instructions can also be directly provided for each plotting function.
#' See \code{\link{showSaveParameters}} for more details
#'
#' giotto_object <- createGiottoObject(raw_exprs = '/path/to/expression/matrix',
#' spatial_locs = '/path/to/spatial/locations',
#' instructions = instructions)
#'
createGiottoInstructions <- function(python_path = NULL,
show_plot = NULL,
Expand Down
23 changes: 10 additions & 13 deletions man/createGiottoInstructions.Rd

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

0 comments on commit 4fa97a3

Please sign in to comment.