load_previous_results {XINA} | R Documentation

## load_previous_results

### Description

Get previous XINA clustering results to R space

### Usage

    load_previous_results(clustering_dir = getwd(), data_column = NULL,
      fp_clusters = "xina_clusters.csv")

### Arguments

`clustering_dir` | The directory path of XINA clustering results
`data_column` | A vector containing column names of data matrix
`fp_clusters` | File path of XINA clustering results

### Value

Comma-separated file containing aligned XINA clustering results.

### Examples

    # Load XINA's example data
    data(xina_example)
    write.csv(example_clusters$aligned,"xina_clusters_aligned.csv")
    write.csv(example_clusters$clusters,"xina_clusters.csv")

    # Reload the clustering result
    example_clusters_reloaded <- load_previous_results(".")

[Package XINA version 1.12.0 Index]