data.combineData {CTD}R Documentation

Combine datasets

Description

Combine datasets

Usage

data.combineData(curr_data, more_data)

Arguments

curr_data

- Current data matrix

more_data

- Data matrix you want to combine with curr_data.

Value

combined.data - Combined data matrix.

Examples

# Row names and column names are required for both input matrices.
curr_data=matrix(rnorm(500), ncol=100)
rownames(curr_data)=sprintf("Feature%d",sample(seq_len(20), 
                                nrow(curr_data),replace = FALSE))
colnames(curr_data)=sprintf("Sample%d", seq_len(ncol(curr_data)))
more_data=matrix(rnorm(500), ncol=100)
rownames(more_data)=sprintf("Feature%d",sample(seq_len(20), 
                                nrow(curr_data),replace = FALSE))
colnames(more_data) = sprintf("Sample%d", seq_len(ncol(curr_data)))
combined.data = data.combineData(curr_data, more_data)

[Package CTD version 1.0.0 Index]