- added vignette: "Using BiocProject with tximeta"
subproject
argument toamendments
inBiocProject
functionProject
is not added as a first element inAnnotated@metadata
, it is appended to any existing ones
- the native
show
methods are redefined for the objects returned byBiocProject::BiocProject
function, so that they display the PEP component of the objectmetadata
BiocProject
function now handles the case when multiple data processing functions are defined in the config file. The last one is used if there's no match inreadFunName
and any of the functions sourced from the file specified inreadFunPath
- updates in the vignettes related to changes of metadata keys in the Project config
- when the data processing function function is read from file, it is used within a newly created environment so that it is not left in the
.GlobalEnv
after theBiocProject
function execution
- passes
BiocCheck
- added option to specify additional arguments in the config file using a
funcArgs
subsection within thebioconductor
section of the PEP configyaml
file.
- now, any object can be returned by the data processing function, rather than requiring objects to inherit from
Annotated
- when errors are encountered, BiocProject now returns a PEP (
pepr::Project
) along with the error message in aS4Vectors::List
object - the
bioconductor
section of the config file now follows the Bioconductor coding style (camelCaps
)
- methods:
is
(overwrites this method behavior just for the classAnnotated
),.is.project
,samples
,config
for signatureAnnotated
- functions:
.insertPEP
andBiocProject
(the workhorse of the package)
- complete concept redesign: no
BiocProject
class. The objects returned by the custom data reading function have to be of classAnnotated
and thePEP
is inserted as the first element of itsmetadata()
list
- better custom data loading function error/warning communication
- all exceptions are caught with
BiocProject
constructor - fix
.updateSubconfig(.Object@config, sp) : Subproject not found:
warning intoProject
method
- the default values for all optional arguments are
NULL
- change
lambda function
toanonymous function
- the object constructor does not fail if the
pepr::Project
object is provided in thefuncArgs
arguments list - if the user-supplied function errors or throws a warning, appropriate messages are nicely displayed
- errors and warnings (if any) are returned instead of the data
- if the object constructor can't find the function file, the message is more informative
- add
BiocProject::BiocProject
constructor function - add
BiocProject::getData
method to extract the data from the object - allow for passing additional arguments for user-provided functions in
BiocProject::BiocProject
- allow to use lambda functions with
func
parameter
- make
BiocProject
class inherit frompepr::Project
andbase::list
- the
initialize
method can read in the data with the providedfunc
- the object constructor does not fail if the
pepr::Project
object is provided in thefuncArgs
arguments list