- Fix minor bugs
- Add a new tutorial
Use user defined pseudotime
- Fix minor bugs
- Add a
pseudotime
parameter tocp.tl.dtw()
,cp.tl.genes_similarity_score()
, andcp.pl
that enable users to use user-defined pseudotime in dynamic time warping cp.tl.trajectory_tree()
now accepts a user-preprocessed dataset- Fix minor bugs
- Specify the matplotlib version as 3.5.2 due to errors in plotting figures
- Fix minor bugs
- Add
multi_gene
parameter tocapital.pl.gene_expression_trend()
so that users can plot a gene expression trend using results of multi genes calculated incapital.tl.dtw()
- Fix minor bugs
- Change function
cp.tl.dpt()
to calculate the root cell so that it is derived from all cells in the datasets and used for all linear alignments - Fix minor bugs
- Fix minor bugs
- Updated
capital.tl.dtw()
- Fix minor bugs
- Specify the Networkx version as 2.8.3 due to errors in plotting figures
- Fix minor bugs
- Fix minor bugs
- Fix compatibility with scanpy 1.9.1
- Fix minor bugs
- Delete synthetic_dataset1 and synthetic_dataset2 from
capital.dataset
function
- Add some new arguments in plotting
- Fix minor bugs
- Adjust CAPITAL codes to the recent Scanpy update to 1.8.1
- Fix minor bugs
- Fine-tune codes to the Code Ocean compute capsule, changing the locations of directories for saving results
- Specify the Scanpy version as 1.6 for pip installation to guarantee the reproducibility of results
- Provide a brand new system so that one can use CAPITAL interactively, which is useful for the interactive development environment JupyterLab
- Upload CAPITAL to PyPI to install it via 'pip' command
- Upload a tutorial and API using a theme provided by Read the Docs
- Upload datasets used in our work, which are available via CAPITAL's dataset functions
- Improve running time
- Fix minor bugs
- Move early versions of CAPITAL to "legacy" directory
- Add '--magic' option to impute gene expression data with MAGIC in pre_capital.py
- Fix a minor bug in draw_capital.py
- Improve calculation processes in all codes
- Fix a bug for 10x Genomics data in capital.py
- Replace '--local-align' option with '--no-prune' in capital.py
- Add a new function for automatically saving figures on trajectory trees and their alignment in capital.py
- Add a new positional argument <genes> in draw_capital.py, so that a user can input multiple genes all together
- Add a new function for automatically saving figures on dynamic time warping and expression dynamics in the alignment directory generated with capital.py if a user does not specify where to save in draw_capital.py
- Remove '--save' option in draw_capital.py, meaning that a figure file will be always saved
- Remove '--showfig' option in draw_capital.py
- Add x-label (and y-label) on plots generated with draw_capital.py
- Adjust the layout of a figure legend to the figure area if --data1-name (--data2-name) is specified
- Fix a bug on the process without cluster in capital.py
- Fix a bug on the key error of leiden_colors in draw_capital.py
- Adjust CAPITAL codes to the recent Scanpy update to 1.5
- Add a function for 10x-MTX directory input in pre_capital.py
- Improve the naming of the result directory with respect to gapcost in the tuning mode in capital.py
- Change the data type of gapcost to float in capital.py
- Keep the value of a gapcost in the result directory when the tuning mode is on in capital.py
- Fix a bug in the statement on concatenation of AnnData in capital.py
- Keep the name of a method for computing a tree in the result directory when the tuning mode is on in capital.py
- Add '-p' option to specify the number of principal components to construct a nearest neighbor graph in pre_capital.py
- Add '-M' option to specify the way of computing a minimum spanning tree (Euclid distance, adaptive Gaussian kernel or PAGA connectivity) in capital.py
- Improve some processes for speed-up
- Fix a bug on dynamic programing calculation in capital.py
- Fix a bug on displaying a figure for tree alignment in capital.py
- Compress output H5AD data generated with pre_capital.py and capital.py to save disk space
- Disable output of H5AD data when '-t' option is used in capital.py
- Change the hierarchy of generated aligned_data directory to remove redundancy
- Fix a bug that occurs when no directory for saving figures is found in draw_capital.py
- Change some option symbols in draw_capital.py for usability
- Show the number of predicted clusters in standard out in pre_capital.py
- Change the hierarchy of generated directories in capital.py
- Improve the naming of result directories in the tuning mode in capital.py
- Change part of option symbols in pre_capital.py and capital.py to avoid inconsistency between scripts as much as possible
- Add a tuning mode in capital.py, which affects only naming of result directories
- Improve a method for saving a PDF figure in pre_capital.py
- Add a function for showing a progress bar when calculating dynamic time warping for each gene in capital.py
- Change part of directories/files naming in capital.py
- Fix a bug on print and change generated directories/files naming in capital.py
- Fix a bug for the input of one aligned cluster pair in draw_capital.py
- Add further explanations to help messages in pre_capital.py and draw_capital.py
- Fix a bug on an attribute error associated with networkx in capital.py
- Add a function for absolute paths input in capital.py
- Allow multiple genes input in capital.py
- Change the definition of a cluster centroid to a vector of the median of expression of each gene in the cluster
- Add a function for showing normalized alignment distance
- Fix a bug in traceback of tree alignment in capital.py
- Add command line option parse
- Split codes into pre_capital.py, capital.py and draw_capital.py
- Fix a minor bug in capital.py
- Upload capital.py for test use