This method can be used to extract the project metadata from objects of Annotated-class

getProject(.Object)

# S4 method for Annotated
getProject(.Object)

Arguments

.Object

an object of Annotated-class

Value

an object of Project-class

Methods (by class)

Examples

projectConfig = system.file('extdata', 'example_peps-master', 'example_BiocProject', 'project_config.yaml', package='BiocProject') p=BiocProject(projectConfig)
#> Loading config file: /tmp/Rtmpp7Kvae/temp_libpath658d0e8e5/BiocProject/extdata/example_peps-master/example_BiocProject/project_config.yaml
#> Function 'readBedFiles' read from file '/tmp/Rtmpp7Kvae/temp_libpath658d0e8e5/BiocProject/extdata/example_peps-master/example_BiocProject/readBedFiles.R'
getProject(p)
#> PEP project object. Class: Project #> file: #> /tmp/Rtmpp7Kvae/temp_libpath658d0e8e5/BiocProject/extdata/example_peps-master/example_BiocProject/project_config.yaml #> samples: 2