setTranscriptomeFromFile {BgeeCall} | R Documentation |
Method of the class UserMetadata. Set transcriptome_object of one UserMetadata object by providing the path to a fasta transcriptome file.
setTranscriptomeFromFile(userObject, transcriptomePath, transcriptomeName) ## S4 method for signature 'UserMetadata,character,missing' setTranscriptomeFromFile(userObject, transcriptomePath, transcriptomeName) ## S4 method for signature 'UserMetadata,character,character' setTranscriptomeFromFile(userObject, transcriptomePath, transcriptomeName)
userObject |
The UserMetadata object |
transcriptomePath |
Absolute path to the transcriptome file |
transcriptomeName |
(optional) Name of the trancriptome. Will be used to create folders. |
If no transcriptomeName is provided the name of the transcriptome file will be used to create folders.
An object of the class UserMetadata
{ transcriptome_path <- system.file("extdata", "transcriptome.fa", package = "BgeeCall") user <- new("UserMetadata") user <- setTranscriptomeFromFile(user, transcriptome_path, "transcriptome_name") }