Skip to content

Commit

Permalink
Updated description and imports for ToyData.R
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristinaSchmidt1 committed Nov 6, 2024
1 parent 45463de commit 3cdd7de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/ToyData.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#'
#' @return A data frame containing the toy data.
#'
#' @description Import and process .csv file to create toy data.
#' @description Import and process .csv file to create toy data DF.
#'
#' @examples
#' Intra <- ToyData("IntraCells_Raw")
Expand Down Expand Up @@ -81,7 +81,7 @@ ToyData <- function(Dataset) {
datasets %>%
magrittr::extract2(Dataset) %>%
system.file("data", ., package = "MetaProViz") %>%
readr::read_csv(col_types = cols()) %>%
readr::read_csv(col_types = readr::cols()) %>%
{`if`(
(rncol <- names(.) %>% intersect(rncols)) %>% length,
tibble::column_to_rownames(., rncol),
Expand Down

0 comments on commit 3cdd7de

Please sign in to comment.