## Start with miRNA data from this package
data(mirnaobj);
## Write a file as example of required input
write.table(mirnaobj@mirnaTable, file = "mirnaobj.txt",
quote = FALSE, row.names = FALSE, col.names = TRUE, na = "",
sep = "\t");
## Now essentially load it back, but assign column headers
mirnaobj <- loadmirnapath( mirnafile = "mirnaobj.txt",
pvaluecol = "P-value", groupcol = "GROUP",
mirnacol = "miRNA Name", assayidcol = "ASSAYID" );
## Display summary information for the resulting object
mirnaobj;
Run the code above in your browser using DataLab