v0.1.1
·
151 commits
to main
since this release
New Features
- New function
draw_scatterplotto produce scatterplots of two genes or gene signatures. - New function
draw_boxplotfor boxplots of gene expression values. - New function
draw_barplotfor barplots of dichotomized gene expression counts into two or three percentile categories. - New helper function
wrap_in_maethat wraps a singleSummarizedExperimentobject into an MAE object. - New method
renamethat makes renaming columns ofrowDataandcolDataas well as assay names in existingSummarizedExperimentobjects much easier, as a step before converting toHermesData. - New method
lapplythat allows user to apply a function on all experiments in aMultiAssayExperiment. - New method
isEmptythat checks whether aSummarizedExperimentobject is empty. - New gene filtering option
n_topin thecalc_pcafunction, which allows filtering genes with greatest variability across samples. - New class
GeneSpecfor specification of genes or gene signatures, see?gene_specfor simple construction. Inclusion of gene signature functionscolPrinComp1andcolMeanZscoresto supplement standard column statistics functions. - New helper function
col_data_with_geneswhich extracts the sample variables saved incolDatatogether with selected gene information as a combined data set. - New helper function
inner_join_cdiscwhich joins genetic with CDISC data sets.
Bug Fixes
normalize()now also works when thehermespackage is not loaded, i.e. you can use it withhermes::normalize().correlate()now also works when there are factor variables in the sample variables of theHermesDataobject.add_quality_flags()does no longer returnNAas the technical failure flags for the samples if there is only a single gene contained in the input, but instead a vector ofFALSEto ensure correct downstream functionality.
Miscellaneous
- Updated
LICENCEandREADMEwith new package references. - The
multi_assay_experimentnow containsHermesDataexperiments, different patient IDs, one experiment with normalized assays, and multiple samples per patient in one experiment. - The main
HermesDataexample is now saved in the package ashermes_data, and the previoussummarized_experimentis still available. Note that patient IDs have been changed in the new version to align with themulti_assay_experiment. - Renaming of required
rowDataandcolDatacolumns to be more consistent with standards and use lowercase snake-case names. - Annotation querying and setting is now more flexible in that it also allows to query more annotations than the required ones.
- Instead of gene starts and ends, the total length of gene exons is now used as the annotation column
size. Corresponding queries from BioMart are used to return this gene size. df_char_to_factorhas been deprecated (and can still be used with a warning) and replaced withdf_cols_to_factor, which also converts logical variables to factor variables.- When providing
SummarizedExperimentobjects containingDelayedMatrixassays to theHermesData()constructor, these are silently converted tomatrixassays to ensure downstream functionality.