Version 0.7
basejump 0.7.0 (2018-08-07)
In this release, we are migrating some of the S4 generics previously exported in the bcbioBase package. We are consolidating these functions here for simplicity and stability.
New functions:
-
makeSummarizedExperiment: RenamedprepareSummarizedExperiment, previously exported in the bcbioBase package. We are using themakeprefix here for consistency (see other gene annotation functions). - Migrated S4 generics and methods from bcbioBase:
flatFiles,metrics,plotCorrleationHeatmap,plotGene,plotHeatmap,plotQC, andplotQuantileHeatmap.
Major changes:
- Now using
curl::has_internetinternally to check for Internet connection. This applies to the annotation functions that query web databases. - Added coercion method support for converting a
SummarizedExperimentto an unstructuredlist. This is the method used internally forflatFiles.
basejump 0.7.1 (2018-08-18)
New functions:
-
cleanSystemLibrary: Utility function to check whether a user has installed packages into the R system library. Refer to.libPathsdocumentation for more information on library paths.
Major changes:
- Now using
buildinstead ofgenomeBuildfor Ensembl annotation functions. ThegenomeBuildargument still works but now will inform the user about the change.
Minor changes:
- Migrated
prepareTemplatefrom bcbioBase package. Simplifed this function to copy all files insideextdata/rmarkdown/sharedwithin a specified package. Currently in use for bcbioRNASeq, bcbioSingleCell, and the new pointillism clustering package. - Made Ensembl release matching stricter, based on the metadata columns.
basejump 0.7.2 (2018-08-29)
New functions:
-
assertAllAreURL. -
assertAllAreValidNames. -
validNames.
Major changes:
- Added a draft vignette explaining the functions available in the package.
-
gene2symbol,makeGene2symbolFromEnsembl, andmakeGene2symbolFromGFFfunctions now support theuniqueargument, which returns sanitized values in thegeneNamecolumn, ensuring there are no duplicates. This is enabled by default (recommended) but can be disabled usingunique = FALSE. This functionality was added to ensure consistent gene name handling in single-cell RNA-seq analyses. -
saveDatanow supportsbasejump.save.extandbasejump.save.compressglobal options, so the desired file type (e.g. RDS instead of RDA) and compression (e.g. xz instead of gzip) can be easily specified for an entire project.
Minor changes:
-
sampleNamesnow supports assignment forSummarizedExperimentmethod. - Now exporting
lanePatternregular expression pattern as a global, which was previously defined in the bcbioBase package. - Bug fix for
ascoercion method support. Need to ensureexportMethods(coerce)is included inNAMESPACEfile, otherwisetibblecoercion usingas(x, "tbl_df")won’t work when called from an Rscript without the package library loaded. Thanks @roryk for noticing this. - Updated
gene2symbolgeneric to use..., since we’ve added theunique = TRUEargument in this release. -
annotable: Moved tomakeGRanges.Rfile, and improved the internal code to export supported formals also used inmakeGRangesFromEnsembl. The function should work exactly the same as previous releases, but now with clearer supported arguments in the documentation. - Skipping code coverage for
cleanSystemLibrary, since Travis CI installs packages into the system library, and causes this check to returnFALSE. - Consistently using
as(from, "tbl_df")for internal tibble coercion in all functions. -
geneSynonymsandpanther:organismargument matching no longer suggests a default. The current list of supported organisms is in the documentation, and described in the internalmatch.argcall. - All
SummarizedExperimentmethods usevalidObjectvalidity checks, where applicable. - Consolidated documentation for all
makeGRanges,makeGene2symbol, andmakeTx2genefunctions. - Heatmap functions: simplified the internal code responsible for defining
annotationColandannotationColorsautomatically. -
sampleData: Made validity check stricter, requiringsampleNamecolumn to be defined, otherwise the function will intentionally error. - Now using
formalsinternall to keep ggplot2 theme formals consistent. - Updated example data scripts and resaved internal data.
- Updated contribution guidelines in
CONTRIBUTING.mdfile.