All functions |
|
---|---|
Infer and draw B cell evolutionary networks |
|
Comparison of distinct B cell repertoires |
|
Extract transcriptome/isotype information and B cell receptor sequences from single cell immune repertoire formatted as list of data.frames |
|
Convert list of csvs, to nested list of data.frames |
|
Calculate metrics for networks |
|
Plot igraph and ggplot objects |
|
Conversion of phylogenetic tree to distance matrix |
|
Filter sub-repertoires with less than N unique sequences or with less than C unique cells |
|
Split single cell immune repertoire into sub-repertoires by isotype based on number of B cells |
|
Split single cell immune repertoire into sub-repertoires by isotype based on number of unique sequences |
|
Count the number of unique antibody variants per clonal lineage |
|
Structure prediction of Mixcr wrapper output with Alpha Fold |
|
Class used for AntibodyForests functions |
|
Infer B cell evolutionary networks and/or sequence similarity networks |
|
Network clustering/community detection for the AntibodyForests similarity networks |
|
Create a nested list of longitudinal AntibodyForests objects |
|
Structural node embeddings for the AntibodyForests minimum spanning trees/ sequence similarity networks |
|
Infer intermediate nodes in the minimum spanning trees/ sequences similiarity networks created by the AntibodyForests function |
|
Bipartite sequence-cell networks in AntibodyForests |
|
Creates phylogenetic trees, infers ancestral sequences, and converts the resulting trees into igraph objects. |
|
Joins a list of trees/networks as AntibodyForests objects into a single AntibodyForests object |
|
Graph kernel methods for graph structure/topology comparisons |
|
Propagate label annotations/values on sparsely labeled networks as AntibodyForests objects. |
|
Node metrics for the AntibodyForests sequence similarity networks and minimum spanning trees. |
|
Calculates the node transitions frequencies for a given feature and an AntibodyForests object |
|
Edge overlap heatmaps for a set of AntibodyForests sequence similarity networks or minimum spanning trees. |
|
Calculates the longest/shortest paths from a node to a given node for the AntibodyForests minimum spanning trees / sequence similarity networks |
|
Converts the igraph networks of a given AntibodyForests object into a given (useful to convert the minimum spanning trees into a phylogenetic tree) |
|
Custom plots for trees/networks created with AntibodyForests |
|
Plots the resulting node metrics from the AntibodyForests_metrics function |
|
GEX processing wrapper in Platypus V2 |
|
Example csv file 1 |
|
Example csv file 2 |
|
Calls MiXCR VDJ object of Platypus V2 |
|
Cellphone DB utility |
|
class_switch_prob_hum The probability matrix of class switching for human b cells. The row names of the matrix are the isotypes the cell is switching from, the column names are the isotypes the cell is switching to. All B cells start from IGHM, and switch to one of the other isotypes or remain the same. |
|
class_switch_prob_mus The probability matrix of class switching for mouse b cells. The row names of the matrix are the isotypes the cell is switching from, the column names are the isotypes the cell is switching to. All B cells start from IGHM, and switch to one of the other isotypes or remain the same. |
|
Get information about the clonotype counts grouped by isotype. |
|
Get information about the clonotype counts grouped by isotype. |
|
Plot clonal frequency barplot of the outout simulated data |
|
Get information about the clonotype counts grouped by transcriptome state(cell type). |
|
Get information about the clonotype counts grouped by transcriptome state(cell type). |
|
Get clone network igraphs colored by seurat cluster id. |
|
colors A vector of characters specifying colors used in igraph phylogenetic tree. Default colors: "#66C2A5", "#FC8D62", "#8DA0CB", "#E78AC3" ,"#A6D854" |
|
Function to cutomise the Dot Plot of CellPhoneDB analysis results. |
|
Simulate immune repertoire and transcriptome data |
|
Simulate B or T cell receptor sequences by variational autoencodes(VAEs) trained with experimental data. |
|
Get information about somatic hypermutation in the simulation. This function return a barplot showing the average mutation. |
|
Get information about somatic hypermutation in the simulation. This function return a barplot showing the average mutation. |
|
Return a barplot of mean and standard error bar of certain value of each clone. |
|
Get the seurat object from simulated transciptome output. |
|
Get the number of unique variants in each clone in a vector. The output is the vector representing the numbers of unique variants. |
|
Get the number of unique variants in each clone in a vector and the barplot. The first item in the output is the vector representing the numbers of unique variants, the second item is the barplot. |
|
Computing sequence distance according to the number of unmatched bases. |
|
Further process the seurat object from simulated transciptome output and make UMAP ready for plotting. |
|
Get paired v gene heavy chain and light chain matrix on clonotype level. A v gene usage pheatmap can be obtain by p<-pheatmap::pheatmap(vgu_matrix,show_colnames= T, main = "V Gene Usage"), where the vgu_matrix is the output of this function. |
|
Platypus V2 GEX and VDJ integration for clonotypes |
|
Differentially expressed genes between clusters or data subsets |
|
Heatmap of cluster defining genes |
|
Cluster membership plots by sample |
|
Coexpression of selected genes |
|
Wrapper for differential gene expression analysis and plotting |
|
Platypus V2 Differentially expressed genes |
|
GEX Dottile plots |
|
Visualization of marker expression in a data set or of predefined genes (B cells, CD4 T cells and CD8 T cells). |
|
GEX GO-Term analysis and plotting |
|
GEX Gene Set Enrichment Analysis and plotting |
|
Flexible GEX heatmap wrapper |
|
This is a function to infer single cell trajectories and identifying lineage structures on clustered cells. Using the slingshot library |
|
Wrapper for calculating pairwise differentially expressed genes |
|
Assignment of cells to phenotypes based on selected markers |
|
Plotting of GEX phenotype by VDJ clone |
|
ProjectTILs tool utility |
|
Plots proportions of a group of cells within a secondary group of cells. E.g. The proportions of samples in seurat clusters, or the proportions of samples in defined cell subtypes |
|
Function that performs pseudo-bulking on the data (VGM input), according to criteria specified by the User, and uses the pseudo-bulked data to perform Differential Gene Expression (DGE) analysis. |
|
This function plots pseudotime along the trajectories which have been constructed with the GEX_trajectories() function. |
|
Scatter plot for coexpression of two selected genes |
|
Platypus V2 GEX DE genes helper |
|
This is a function which infers trajectories along ordered cells on dimensionality reduced data. It projects trajectrories on a dim. red. plot such as Umap. This uses Monocle3 or Monocle2. |
|
Platypus V2 GEX and VDJ integration for visualizing clone clustering |
|
Flexible wrapper for GEX volcano plots |
|
hotspot_df Hotspot mutations taken from Yaari et al., Frontiers in Immunology, 2013. This contains transition probabilities for all 5mer combinations based on high throughput sequencing data. The transition probabilities are for the middle nucleotide in each 5mer set. This can be customized by changing the genes and sequences. Custom mutation hotspots can be supplied by modifying this dataframe. Repeating particular hotspot entries allows for the hotspot to mutate more than one time per SHM event. |
|
hum_b_h |
|
hum_b_l |
|
hum_t_h |
|
hum_t_l |
|
iso_SHM_prob A probability dataframe specifying SHM.nuc.prob for cells of different isotypes. The first column is the names of isotypes, while the second column is the SHM.nuc.prob of cell of that isotype. user can define different SHM.nuc.prob for isotypes. |
|
mus_b_h |
|
mus_b_l |
|
mus_b_trans A data frame contains mouse B cell average gene expression for multiple cell types, with the rows representing the gene names, column names representing the cell type names. The original single cell sequencing data is retrieved from 10xgenomics and combined with experimental data The expression level for different cell types are obtained by calculating the average expression after sorting the original data by markers as shown below. |
|
mus_t_h |
|
mus_t_l |
|
Get clone network igraphs without empty mode. Empty node represents the 'extincted' sequences, that are not in any living cell but once existed. |
|
one_spot_df |
|
pheno_SHM_prob A probability dataframe specifying SHM.nuc.prob for cells of different phenotypes. The first column is the names of phenotypes, while the second column is the SHM.nuc.prob of cell of that phenotype. user can define different SHM.nuc.prob for phenotypes. |
|
AIRR to Platypus V3 VGM compatibility function |
|
Loads and saves RData objects from the PlatypusDB |
|
CDR3 query function for PlatypusDB |
|
Metadata download by project for PlatypusDB |
|
PlatypusDB utility for import of local datasets |
|
Platypus V3 VGM to AIRR compatibility function |
|
This PlatypusML_classification function takes as input encoded features obtained using the PlatypusML_extract_features function. The function runs cross validation on a specified number of folds for different classification models and reports the AUC scores and ROC curves. |
|
This PlatypusML_classification function takes as input encoded features obtained using the PlatypusML_extract_features function. The function runs cross validation on a specified number of folds for different classification models and reports the AUC scores and ROC curves. |
|
This PlatypusML_feature_extraction_GEX function takes as input specified features from the second output of the VDJ_GEX_matrix function and encodes according to the specified strategy. The function returns a matrix containing the encoded extracted features as columns and the different cells as rows. This function should be called as a first step in the process of modeling the VGM data using machine learning. |
|
This PlatypusML_feature_extraction function takes as input specified features from the first output of the VDJ_GEX_matrix function and encodes according to the specified strategy. The function returns a matrix containing the encoded extracted features in the order specified in the input as columns and the different cells as rows. This function should be called as a first step in the process of modeling the VGM data using machine learning. |
|
Get the index of top ranking clones. |
|
Small VDJ GEX matrix (VGM) for function testing purposes |
|
Plotting celltype assign to cell according to their phenotype on the spatial image. |
|
Plotting clusters of cells by choosing between 10X Genomics clustering or reclustering the cells. |
|
Plotting the contour density of selected cells or of all cells. |
|
Plotting the phylogenetic network of a clonotype based on the somatic hypermutations of the immune repertoire sequences on a spatial image. |
|
Plotting a gene of interest in selected cells on the spatial image. |
|
Plotting the expression of a gene module on the spatial image with or without a threshold. |
|
Plotting number of somatic hypermutation of clones compare to the germline sequence of the clonotype. |
|
Scaling of the spatial parameters to be able to express the gene expression on the spatial image. |
|
Selection of VGM[[1]]/VDJ data of the x more expanded clonotypes. |
|
Allows to select an area on the spatial image and to isolate the cells expressed on this part and repeat this process several times. |
|
Assign simulated immune repertoire sequences (BCR or TCR) simulated by Echidna to transcriptome and location in a spatial image in function of cell type. |
|
Plotting immune repertoire data as clonotype or isotype for cells on a spatial image. |
|
Addition of the spatial information to the VGM matrix, output of VDJ_GEX_matrix() |
|
special_v a dataframe, of heavy and light chain v gene combination and their probability to be selected for expansion. |
|
trans_switch_prob_b The probability for B cell transcriptome states switching. The row names of the matrix are the cell states the cell is switching from, the column names are the cells states the cell is switching to. |
|
trans_switch_prob_t The probability for T cell transcriptome states switching. The row names of the matrix are the cell states the cell is switching from, the column names are the cells states the cell is switching to. |
|
Set idents for top abundant clones in Seurat object, get ready for highlight the top abundant clones in UMAP. |
|
Calculate abundances/counts of specific features for a VDJ dataframe |
|
Produces a Circos plot from the VDJ_analyze output. Connects the V-alpha with the corresponding V-beta gene for each clonotype. |
|
Platypus V2 VDJ processing wrapper. |
|
Integrates antigen-specific information into the VDJ/VDJ.GEX.matrix[[1]] object |
|
Ab sequence assembly for recombinant PnP expression |
|
Utility function for bulk data to standard Platypus format conversion |
|
(Re)clonotype a VDJ object using cellranger's enclone tool |
|
MiXCR wrapper for Platypus V3 VDJ object |
|
MiXCR wrapper for Platypus V3 VDJ object. In addition to the VDJ_call_MIXCR function, the output also contains the concatenated sequences from FR1 all the way to FR2 for both the VDJ and VJ. |
|
Calls the Kaplinsky/RECON tool |
|
Plots a Circos diagram from an adjacency matrix. Uses the Circlize chordDiagram function. Is called by VDJ_clonotype_clusters_circos(), VDJ_alpha_beta_Vgene_circos() and VDJ_VJ_usage_circos() functions or works on its own when supplied with an adjacency matrix. |
|
Circular VDJ expansion plots |
|
Flexible wrapper for clonal expansion barplots by isotype, GEX cluster etc. |
|
Wrapper function for VDJ_abundances to obtain ranked clonotype barplots |
|
Platypus V2 lineage utility |
|
Platypus V3 clonotyping wrapper |
|
Updated clonotyping function based on implications for cells with different chain numbers than 1 VDJ 1 VJ chains. |
|
Formats "VDJ_contigs_annotations.csv" files from cell ranger to match the VDJ_GEX_matrix output using only cells with 1VDJ and 1VJ chain |
|
Wrapper function of VDJ_antigen_integrate function |
|
Load and preprocess a list of antigen-specific databases |
|
Calculates and plots common diversity and overlap measures for repertoires and alike. Requires the vegan package |
|
Platypus V2 annotation utility |
|
Tracks a specific VDJ column across multiple samples/timepoints. |
|
Expand the aberrant cells in a VDJ dataframe by converting them into additional rows |
|
Platypus V2 utility for full germline sequence via MiXCR |
|
Infer germline from the desired software/caller |
|
Function to get shared/public elements across multiple repertoires |
|
Platypus V2 lineage - GEX integration utility |
|
Pseudotime analysis for scRNA and repertoire sequencing datasets |
|
Makes a Circos plot from the VDJ_GEX_integrate output. Connects the clonotypes with the corresponding clusters. |
|
Platypus V2 utility |
|
only Platypus v2 Integrates VDJ and gene expression libraries by providing cluster membership seq_per_vdj object and the index of the cell in the Seurat RNA-seq object. |
|
VDJ GEX processing and integration wrapper |
|
Overlay clones on GEX projection |
|
Standalone VDJ and GEX statistics. |
|
Platypus V2 clonal utility |
|
Calculates and plots kmers distributions and frequencies. |
|
vdj_length_prob A list dataframe specifying lengths and probabilities of bases deleted or inserted at each junction site of VDJ recombination event. |
|
Flexible logoplot wrapper |
|
Similarity networks based on CDR3 regions |
|
Performs ordination/dimensionality reduction for a species incidence matrix, depending on the species selected in the feature.columns parameter. |
|
Wrapper to determine and plot overlap between VDJ features across groups |
|
VDJ_per_clone |
|
Creates phylogenetic trees from a VDJ dataframe |
|
Phylogenetic tree plotting |
|
Plotting of somatic hypermutation counts |
|
Function to get shared/public elements across multiple repertoires |
|
Plots rarefaction curves for species denoted in the feature.columns parameter across groups determined by grouping.columns |
|
Platypus V2 dataframe utility |
|
Select clonotypes |
|
Analysis of antibody structures |
|
Platypus V2 phylogenetic trees. |
|
Wrapper for variant analysis by clone |
|
V(D)J gene usage stacked barplots |
|
V(D)J gene usage barplots |
|
V(D)J gene usage stacked barplots |
|
Makes a Circos plot from the VDJ_analyze output. Connects the V gene with the corresponding J gene for each clonotype. |
|
VDJ utility for T/F column for clonal expansion |
|
Utility for feature barcode assignment including clonal information |
|
Utility for VDJ GEX matrix to integrated VDJ and GEX objects after addition of data to either |