et_readFiles: et_readFiles

Description Usage Arguments Value References See Also Examples

View source: R/et_readFiles.R

Description

Reads in multiples files, corresponding to different conditions and replicates from TnSeq analysis with Gumbel of Tradis. Creates a nested, named list of data frames for further analysis. This function is set to look for files recursively, meaning it will descend into sub-directories from the given starting point.

Usage

1
et_readFiles(tool, conditions, num_reps, data_folder)

Arguments

tool

String; one of "Gumbel" or "Tradis".

conditions

List of conditions (character). These should correspond to file names, and should be specific and non-overlapping.

num_reps

The number of replicates, corresponding to the number of files for each condition.

data_folder

Directory containing files for all conditions and replicates.

Value

Nested and named list of data frames for all conditions and replicates.

References

None.

See Also

https://github.com/hancockinformatics/EssentialTnSeq

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
  et_readFiles(
    tool = "Gumbel",
    conditions = c("treatment", "control"),
    num_reps = 3,
    data_folder = "GumbelResults"
  )

## End(Not run)

travis-m-blimkie/EssentialTnSeq documentation built on July 23, 2020, 4:58 a.m.