saveResults {miRNAmeConverter} | R Documentation |
This function saves the data frame returned from translateMiRNAName inclusive the attribute 'description'. Save miRNA translation results
This function saves the data frame returned from translateMiRNAName inclusive the attribute 'description'.
saveResults(this, df, outputFilename, outputPath, sep = "\t", quote = FALSE, verbose = FALSE, ...) ## S4 method for signature 'MiRNANameConverter,data.frame' saveResults(this, df, outputFilename, outputPath, sep = "\t", quote = FALSE, verbose = FALSE, ...)
this |
Object of class 'MiRNANameConverter' |
df |
A |
outputFilename |
A filename for the output file, such as 'filename.txt' |
outputPath |
A file path (character string) to the target directory |
sep |
Separator |
quote |
If all data values shall be surrounded by ('"') |
verbose |
Boolean to either show more (TRUE) or less information (FALSE) |
... |
Arguments that can be passed on to |
This function saves a data frame that has been returned by
translateMiRNAName
.
The attribute 'description' of the data frame will be stored as well.
this = MiRNANameConverter,df = data.frame
: Method for saving translation results
Stefan Haunsberger
write.table
for additional parameter values for
the '...' argument, attr
for how to retrieve attributes
nc = MiRNANameConverter(); # Instance of class 'MiRNANameConverter' res = translateMiRNAName(nc, miRNAs = c("hsa-miR-140", "hsa-miR-125a"), versions = c(15, 16, 20, 21)) # Save translation results saveResults(nc, res)