uSORT_write_results: Resluts parsing for uSORT

Description Usage Arguments Value Examples

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())

JinmiaoChenLab/uSORT documentation built on May 7, 2019, 10:53 a.m.