setTranscriptomeFromObject: Set transcriptome_object of one UserMetadata object

Description Usage Arguments Details Value Examples

Description

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

Usage

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

1
2
3
4
5
6
7
8
{
user <- new("UserMetadata")
transcriptome_object <- Biostrings::readDNAStringSet(
    system.file("extdata", "transcriptome.fa", package = "BgeeCall"))
user <- setTranscriptomeFromObject(user,
                 transcriptome_object,
                 "transcriptome_name")
}

BgeeCall documentation built on Dec. 12, 2020, 2 a.m.