setTranscriptomeFromObject {BgeeCall} | R Documentation

## Set transcriptome_object of one UserMetadata object

### Description

Method of the class UserMetadata. Set transcriptome_object of one UserMetadata object by using one DNAStringSet object as input.

### Usage

    setTranscriptomeFromObject(userObject, transcriptomeObject, transcriptomeName)

    ## S4 method for signature 'UserMetadata,DNAStringSet,character'
    setTranscriptomeFromObject(userObject, transcriptomeObject, transcriptomeName)

### Arguments

`userObject` | UserMetadata object
`transcriptomeObject` | Object of the DNAStringSet S4 class
`transcriptomeName` | Name of the transcriptome. Will be used to create transcriptome folders.

### Details

Please use a DNAStringSet object as input. This class is defined in the Biostrings package

### Value

an object of UserMetadata

### Examples

    {
    user <- new("UserMetadata")
    transcriptome_object <- Biostrings::readDNAStringSet(
        system.file("extdata", "transcriptome.fa", package = "BgeeCall"))
    user <- setTranscriptomeFromObject(user,
                     transcriptome_object,
                     "transcriptome_name")
    }

[Package BgeeCall version 1.3.1 Index]