View source: R/data.combineData.r
data.combineData | R Documentation |
Combine datasets
data.combineData(curr_data, more_data)
curr_data |
- Current data matrix |
more_data |
- Data matrix you want to combine with curr_data. |
combined.data - Combined data matrix.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.