Description Usage Arguments Details Value References See Also Examples
View source: R/tbt_readFiles.R
Given a directory containing data files and list of conditions, read the files produced by Tradis or Transit/Gumbel TnSeq pipelines and select the gene name and call or count columns.
1 | tbt_readFiles(tool, conditions, reps, data_folder)
|
tool |
Specify tool that produced the results files, either "Tradis" or "Gumbel". |
conditions |
Names of the conditions, which must match to file names being read. |
reps |
Number of replicates, which should be the same as the number of files for a given condition. |
data_folder |
Folder containing all of the files for each condition and all its replicates. Should NOT end with "/". |
Designed as the first step in a pipeline to determine essential genes from
Tradis or Transit/Gumbel. After this step, count or call column (depending on
the tool) should be renamed to be unique to each condition/replicate. This can
be done using TbTnseq::tbt_rename()
.
tbt_readFiles |
A list of the conditions, holding a list of the replicates for that condition, with the data stored in a data frame. I.e. a list of list of data frames. |
None.
https://www.github.com/travis-m-blimkie/TbTnseq
1 2 3 4 5 6 7 8 9 10 11 12 | # Set up required info
conditions <- list("MHB_unt", "MHB_AZM")
reps <- c("rep1", "rep2", "rep3")
tradis_path <- "Data/Tradis"
# Run tbt_readFiles()
tradis_select_dfs <- tbt_readFiles(tool = "Tradis",
conditions = conditions,
reps = reps,
data_folder = tradis_path)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.