tbt_rename: Rename TnSeq Columns

Description Usage Arguments Details Value References See Also Examples

View source: R/tbt_rename.R

Description

Renames count or call column of TnSeq results to be unique for every condition and replicate being analyzed. Facilitates joins and subsequent steps.

Usage

1
tbt_rename(input_list, cond_name)

Arguments

input_list

List of data frames, corresponding to all replicates of a given condition. Designed to receive input generated from tbt_readFiles().

cond_name

Name of the condition/treatment. Will be prefixed to the count column name, along with replicate number.

Details

Function renames the count or call column based on combining the condition and replicate, and appending this to the count/call column. Once this step is complete, data frames for each condition can be joined with plyr::join_all(), producing a single data frame for each condition containing the appropriate information for each replicate.

Value

tbt_rename

A list of data frames, with the count colums named to be unique to the condition and replicate.

References

None.

See Also

https://www.github.com/travis-m-blimkie/TbTnseq

Examples

1
2
tbt_rename(input_list = tradis_results_list,
           cond_name = "Treatment_1")

travis-m-blimkie/TbTnseq documentation built on July 22, 2019, 7:39 a.m.