inst/scripts/create_airway_example.R

# Create airway Subset
# Gabriel Odom
# 2019-06-10

# The second vignette build errors on the Bioc servers.
#   Quitting from lines 190-194 (Supplement2-Importing_Data.Rmd) 
#   Error: processing vignette 'Supplement2-Importing_Data.Rmd' failed with
#   diagnostics:
#   wrong arguments for subsetting an environment
# I have added a test to make sure that this SE2Tidy() function does not break,
#   but I need to add this data subset for the vignette.

library(SummarizedExperiment)
library(pathwayPCA)
data(airway, package = "airway")
airway_df <- SE2Tidy(airway)
airway_df <- airway_df[, 1:20]
saveRDS(airway_df, file = "inst/extdata/se2tidy_Exdata.RDS")

Try the pathwayPCA package in your browser

Any scripts or data that you put into this service are public.

pathwayPCA documentation built on Dec. 15, 2020, 6:14 p.m.