| outputLibs {ORFik} | R Documentation |
Variable names defined by df (ORFik experiment DataFrame) Uses multiple cores to load, defined by multicoreParam
outputLibs( df, chrStyle = NULL, type = "default", envir = .GlobalEnv, BPPARAM = bpparam() )
df |
an ORFik |
chrStyle |
a GRanges object, TxDb, FaFile,
or a |
type |
a character(default: "defualt"), load files in experiment or some precomputed variant, either "bedo" or "pshifted". These are made with ORFik:::simpleLibs() |
envir |
environment to save to, default (.GlobalEnv) |
BPPARAM |
how many cores? default: bpparam() |
NULL (libraries set by envir assignment)
Other ORFik_experiment:
bamVarName(),
create.experiment(),
experiment-class,
libraryTypes(),
read.experiment(),
save.experiment(),
validateExperiments()
# 1. Pick directory
dir <- system.file("extdata", "", package = "ORFik")
# 2. Pick an experiment name
exper <- "ORFik"
# 3. Pick .gff/.gtf location
txdb <- system.file("extdata", "annotations.gtf", package = "ORFik")
template <- create.experiment(dir = dir, exper, txdb = txdb,
viewTemplate = FALSE)
template$X5[6] <- "heart" # <- fix non unique row
# read experiment
df <- read.experiment(template)
# Output to .GlobalEnv with:
# outputLibs(df)