uSORT_write_results: Resluts parsing for uSORT

Description Usage Arguments Value Examples

View source: R/uSORT_postProcess.R

Description

Save result object into a RData file. Save cell to cell distance heatmap for both preliminary and refined results. Creat plot of driver gene profiles on final ordering using heatmap.

Usage

1
uSORT_write_results(uSORT_results, project_name, result_directory)

Arguments

uSORT_results

Result object from uSort function, a list.

project_name

A prefix for the saving files.

result_directory

The path where to save the results.

Value

save the results.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
dir <- system.file('extdata', package='uSORT')
file <- list.files(dir, pattern='.txt$', full=TRUE)
#remove the # symbol of the following codes to test
#uSORT_results <- uSORT(exprs_file = file,
# project_name = 'test',
# preliminary_sorting_method = 'autoSPIN',
# refine_sorting_method = 'sWanderlust',
# save_results = FALSE)
#uSORT_write_results(uSORT_results,
# project_name = 'test',
# result_directory = getwd())

uSORT documentation built on Nov. 8, 2020, 5:18 p.m.