SurvAppendMatrix: Append Survival Test Outputs

Description Usage Arguments Value Examples

View source: R/SurvAppendMatrix.R

Description

Function used to append all .csv files that are outputted from AnalyzeOrthoMCL into one matrix.

Usage

1
SurvAppendMatrix(work_dir, out_name = "surv_matrix.csv", out_dir = NULL)

Arguments

work_dir

the directory where the output files of AnalyzeOrthoMCL are located

out_name

file name of outputted matrix

out_dir

the directory where the outputted matrix is placed

Value

A csv file containing a matrix with the following columns: OG, p-values, Bonferroni corrected p-values, mean phenotype of OG-containing taxa, mean pheotype of OG-lacking taxa, taxa included in OG, taxa not included in OG

Examples

1
2
3
4
5
6
## Not run: 
file <- system.file('extdata', 'outputs', package='MAGNAMWAR')
directory <- paste(file, '/', sep = '')
SurvAppendMatrix(directory)

## End(Not run)

MAGNAMWAR documentation built on May 2, 2019, 6:42 a.m.