organism,experiment-method | R Documentation |
If not defined directly, checks the txdb / gtf organism information, if existing.
## S4 method for signature 'experiment'
organism(object)
object |
an ORFik |
character, name of organism
Other ORFik_experiment:
ORFik.template.experiment()
,
ORFik.template.experiment.zf()
,
bamVarName()
,
create.experiment()
,
experiment-class
,
filepath()
,
libraryTypes()
,
outputLibs()
,
read.experiment()
,
save.experiment()
,
validateExperiments()
# if you have set organism in txdb of ORFik experiment:
df <- ORFik.template.experiment()
organism(df)
#' If you have not set the organism you can do:
#gtf <- "pat/to/gff_or_gff"
#txdb_path <- paste0(gtf, ".db") # This file is created in next step
#txdb <- makeTxdbFromGenome(gtf, genome, organism = "Homo sapiens",
# optimize = TRUE, return = TRUE)
# then use this txdb in you ORFik experiment and load:
# create.experiment(exper = "new_experiment",
# txdb = txdb_path) ...
# organism(read.experiment("new-experiment))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.