list.experiments | R Documentation |
Will only search .csv extension, also exclude any experiment with the word template.
list.experiments(
dir = ORFik::config()["exp"],
pattern = "*",
libtypeExclusive = NULL,
validate = TRUE,
BPPARAM = bpparam()
)
dir |
directory for ORFik experiments: default: ORFik::config()["exp"], which by default is: "~/Bio_data/ORFik_experiments/" |
pattern |
allowed patterns in experiment file name: default ("*", all experiments) |
libtypeExclusive |
search for experiments with exclusivly this libtype, default (NULL, all) |
validate |
logical, default TRUE. Abort if any library files does not exist. Do not set this to FALSE, unless you know what you are doing! |
BPPARAM |
how many cores/threads to use? default: bpparam() |
a data.table, 1 row per experiment with columns:
- experiment (name),
- organism
- author
- libtypes
- number of samples
## Make your experiments
df <- ORFik.template.experiment(TRUE)
df2 <- df[1:6,] # Only first 2 libs
## Save them
# save.experiment(df, "~/Bio_data/ORFik_experiments/exp1.csv")
# save.experiment(df2, "~/Bio_data/ORFik_experiments/exp1_subset.csv")
## List all experiment you have:
## Path above is default path, so no dir argument needed
#list.experiments()
#list.experiments(pattern = "subset")
## For non default directory experiments
#list.experiments(dir = "MY/CUSTOM/PATH)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.