Description Usage Arguments Value Examples
Read data from a file.The first row and the first column are the names of the data.
1 | formatData(data, trans = FALSE, sep = ",")
|
data |
File path of the data that needs to be read. |
trans |
Whether you need to transpose the results. |
sep |
The separator of the data in the file. |
Data in matrix format read from file.
1 2 3 | data(COAD_Methy)
write.csv(COAD_Methy, 'temp.csv')
mydata <- formatData('temp.csv', sep = ',')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.