Recent Releases of APackOfTheClones
APackOfTheClones - v1.2.4
Additions
- Update citation information as the tool has been published.
Changes
- slightly improve README
- Ensured all irrelevant files are not included in the package build to address CRAN submissions failures for the previous 2 patches.
Scientific Software - Peer-reviewed
- R
Published by Qile0317 over 1 year ago
APackOfTheClones - v1.2.1
Additions
- Add code of conduct and contributing guidelines in the package source code.
- Add
assertthatin imports.
Changes
- The main change in this patch is a minor alteration in the circle packing algorithm that should result in packings acting slightly more consistent across different physical systems. This may result in slightly different circle placements in the clonal expansion plot, but the overall structure should remain the same. This is pretty much only noticeable in the case of extremely small testing datasets, which is why this is a patch version. However, it is very possible that the same seurat object will produce a slightly different packing than before.
- updated citation information upon calling
citation("APackOfTheClones"): the package as of this patch version is undergoing review in the journal of open source software. - Updated the
combined_pbmcdataset to be up-to-date with the latest version ofSeurat. - Spelling & minor fixes / updates to various functions, documentation.
- Removed package startup deprecation message for returning users of version
0.1.x. - Removed the explicit
magrittrdependency.
Scientific Software - Peer-reviewed
- R
Published by Qile0317 over 1 year ago
APackOfTheClones - v1.2.0
Additions
- Functionality around defining "clusters"/"Idents" has been revamped but backwards compatible. Added argument
alt_identin many functions includingvizAPOTCandRunAPOTCto allow for counting clusters based on different cell identities or the current active identity ifNULL, and it is now part of the subsetting arguments for all functions that work with APackOfTheClones runs /data. This includes:vizAPOTCRunAPOTCgetSharedClonescountCloneSizes(see section below in changes to incorporate identity functionality)- updated relevant vignettes to reflect the new argument.
- Add
renameApotcRunto rename APackOfTheClones runs. - Add argument
detailinAPOTCPlotandvizAPOTCto allow user to quickly plot a version of the clonal expansion plot where each cluster is just one large circle. Correspondingly added a subsection invignette("APackOfTheClones-shared"). - Add argument
publicityingetSharedClonesto filter the output shared clones by the number of clusters each clonotype is present in.
Changes
vizAPOTCandRunAPOTCnow defaults to aggregating clustered clonotype frequencies based on active ident of the seurat object. Additionally, if using an ident where its levels are not ordered integers, then the cluster labels for each APackOfTheClones run that is stored in the seurat object will no longer just be "C1", "C2", ... and will be the names of the idents.- Fixed the output for arguments
intopandintop_per_clingetSharedClonesso they actually filters for all clones with clone sizes in the top range. - All arguments in
AdjustAPOTCthat asks for cluster indices as input now also accept characters representing their respective labels in the APackOfTheClones runs. - The argument
recolor_indicieshas been renamed torecolor_indicesinAdjustAPOTC. countCloneSizesnow outputs a named list with each name being the cluster identity. Additionally, the argumentby_clustercan now also take in single characters as arguments representing possible alternative cluster identities in the metadata.- Removed
mini_seurat_objfrom publicly exported data. - Several exported functions, including
AdjustAPOTC, now have stricter argument checking of type and length. - Package can now be installed again on releases with C++14 compilation on older releases of R.
- The minimum required R version has been bumped from
4.0.0to4.1.0.
Scientific Software - Peer-reviewed
- R
Published by Qile0317 almost 2 years ago
APackOfTheClones - v1.1.0
APackOfTheClones 1.1.0
Additions
- Add
getSharedClonesto compute information about clonotypes that are present in multiple seurat clusters and return it to the user. - Add
showCloneHighlightto extend the scRepertoire analogue for an APackOfTheClones plot - comes with many options to have certain clones appear differently on an existing plot. - Add
overlayLegendto overlay/modify current legend on a clonal expansion plot. - Add
removeLegendto remove any existing legend on a clonal expansion plot. - Add
mergeCloneSizesto merge clustered raw clone sizes into one table. - Added arguments in
countCloneSizesto optionally NOT get clones sizes by cluster, and to optionally sort the output. - Added argument
add_legend_centerspaceinAPOTCPlotandvizAPOTCto adjust spacing between guide circles and their values, for cases where guide circles have an exceedingly large radius. - Added arguments in
AdjustAPOTCto work with labels and their locations - Added argument
verboseinAPOTCPlotto display some additional visual cues. - Added argument
alphainAPOTCPlotandvizAPOTCto change the alpha (transparency) of each circle. - Added arguments in
APOTCPlotand the correspondingvizAPOTCto compute and plot "links" between clonotypes that are "shared" i.e. common within multiple clusters. Currently, only supports plotting of straight lines. - Add
vignette("APackOfTheClones-install")for detailed installation instructions. - Add
vignette("APackOfTheClones-utils")for more guidance on the various utilities of the package. - Add
vignette("APackOfTheClones-shared")for guidance on working with and visualizing clonotypes shared among different seurat clusters.
Changes
countCloneSizes- Fixed the output to truly be a list of unnamed "table" objects, whereas before, for the clusters with valid clones, each element was instead a list with the first and only element being the tabled clone sizes, and they also had a dimname of
"x". - Fixed a bug where if the seurat object had no actual clones, the function would error instead of returning a list of empty tables.
- These fixed changed the raw clone size objects stored in
ApotcDataobjects, so all objects and pipelines used before this must be re-ran to be forwards compatible! This is technically a breaking change but the major version was not incremented since the fix should be relatively trivial.
- Fixed the output to truly be a list of unnamed "table" objects, whereas before, for the clusters with valid clones, each element was instead a list with the first and only element being the tabled clone sizes, and they also had a dimname of
- For
vizAPOTC,RunAPOTC,APOTCPlot, fixed the subsetting arguments...andextra_filterfor cases where setting certain columns to only one level will erase extra data. - Altered the ggplot object outputs of
APOTCPlotandvizAPOTCto work withoverlayLegendandremoveLegendby introducing another element with a smaller sizeApotcDataobject, and layers are now either named with an empty string or a layer label. Leftover ggplot objects from previous versions will have to be updated by re-running that command (APOTCPlot/vizAPOTC) that generated them. - Fixed the functionality of the
new_clone_scale_factorargument inAdjustAPOTCto guarantee it is a true rescaling of the clone scale factor, and the internally estimated cluster radii will correspondingly be modified to work with potential repulsion. - Circles on legends of clonal expansion plots will now have the same linetype as the rest of the circles in a plot generated by
APOTCPlot/vizAPOTC, whereas before they were forced to be blank. - Legend background is now a single
geom_rectannotation with a black border instead of a white rectangle stacked on top of a black rectangle. - Many fixes to the behavior of
AdjustAPOTC
Scientific Software - Peer-reviewed
- R
Published by Qile0317 almost 2 years ago
APackOfTheClones - v1.0.0
Additions
- Add
vizAPOTCto replaceclonal_expansion_plotwith some similar arguments but works completely differently with an additional set of argument requirements, to ultimately produce a similar but better visualization. - Add
RunAPOTCto store multiple APackOfTheClones runs on the seurat object. - Add
containsApotcRunto check for the existence of some run based on an ID. - Add
getApotcDataIdsto get all APackOfTheClones run IDs. - Add
getLastApotcDataIdto get the latest APackOfTheClones run ID. - Add
deleteApotcDatato delete all data associate with some APackOfTheClones run. - Add
APOTCPlotto plot APackOfTheClones run results into a ggplot. - Add
AdjustAPOTCto modify certain attributes of prior APackOfTheClones runs. - Add
countCloneSizesas a convenience function to count clonotype sizes based on the clonecall and allows subsetting of the seurat metadata - Add
getReductionCentroidsas a convenience function to get the physical centroids of each cell in some reduction in a seurat object. - Added two new vignettes are on the
pkgdownwebsite and indexed, and should be viewed in order ofvignette("APackOfTheClones")andvignette("APackOfTheClones-runs").
Changes
- ALL v0.1.x functions are deprecated/defunct, and the clonal expansion workflow has changed.
- The latest version two of
scRepertoireis now a "dependency", and the package is now structured as an extension ofscRepertoirewhen it comes to integrating VDJ data, asscRepertoirealready possesses a mature and common method to do so. - Package startup message has been modified to notify users about the deprecation and breaking changes.
- All clonal expansion plots will no longer have a title for the default theme
Scientific Software - Peer-reviewed
- R
Published by Qile0317 about 2 years ago
APackOfTheClones - v0.1.4
Additions
- The clonal expansion plotting function now has a new optional argument
reductionwhich now allows the user to choose which reduction the circle clonal clusters should be based on. Defaults to'umap'but can now be changed to'tsne'or'pca'given that they have been ran already on the seurat object. The vignette has been updated accordingly as well - New CRAN badge showing date of latest release on
README.md
Changes
- Some testcases have been altered/fixed to pass CRAN's R-CMD check
- Package startup message has been improved
Scientific Software - Peer-reviewed
- R
Published by Qile0317 over 2 years ago
APackOfTheClones - v0.1.3
Additions
clonal_expansion_plotnow displays time elapsed ifverbose = TRUE- There are now package startup messages
Changes
- Many functions have been rewritten in C++, improving the circle packing runtime of
clonal_expansion_plot70 ~ 140 fold. For reference, for a dataset with around 2500 viable T cells, the runtime averages 0.1s
Scientific Software - Peer-reviewed
- R
Published by Qile0317 over 2 years ago
APackOfTheClones - v0.1.2
Additions
- Two new datasets previously in the test folder have now moved to
\dataand are available to users and can be called viadata("mini_seurat_obj")anddata("mini_clonotype_data").
Changes
- Released package to CRAN .
- Minor documentation changes to adhere to CRAN standards.
Scientific Software - Peer-reviewed
- R
Published by Qile0317 almost 3 years ago
APackOfTheClones - v0.1.1
Additions
- A preliminary user vignette can be viewed on the documentation website, but the code chunks are missing on the site. It is unclear currently if it can be viewed in R either. Future patches will improve this.
Changes
- An initial version of automated cluster repulsion is correctly implemented and the related arguments in
clonal_expansion_plothas been "unlocked". - Size legends are now correctly implemented, and the related arguments have also been "unlocked" in
clonal_expansion_plot. - Function documentation and the README in general has been slightly improved. (automatically updated on the pkgdown website)
Scientific Software - Peer-reviewed
- R
Published by Qile0317 almost 3 years ago
APackOfTheClones - v0.1.0
Initial release.
Scientific Software - Peer-reviewed
- R
Published by Qile0317 almost 3 years ago