saveResults: Save miRNA translation results

Description Usage Arguments Details Methods (by class) Author(s) See Also Examples

Description

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'.

Usage

1
2
3
4
5
6
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, ...)

Arguments

this

Object of class 'MiRNANameConverter'

df

A data.frame with translated results

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 write.table

Details

This function saves a data frame that has been returned by translateMiRNAName. The attribute 'description' of the data frame will be stored as well.

Methods (by class)

Author(s)

Stefan Haunsberger

See Also

write.table for additional parameter values for the '...' argument, attr for how to retrieve attributes

Examples

1
2
3
4
5
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)

StefanHaunsberger/miRNAmeConverter documentation built on May 16, 2019, 7:22 a.m.