You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,17 @@
1
+
# cyCONDOR 0.3.0
2
+
* Bug fix with data projection where specific parameters were removed in UMAP calculation
3
+
* Updated official Docker image to the latest Bioconductor version (Bioconductor 3.20, R 4.4.2)
4
+
* Completed documentation of the `Astir` workflow.
5
+
* Added parameter to select number of PCs and markers for UMAP projection in `learnUMAP` function.
6
+
* Added documentation and guide to install cyCONDOR in Silicon Mac. We now how a compiled version of the Rphenoannoy package.
7
+
* Simplified installation process, now automatically installing also the GitHub dependencies.
8
+
* Enable Geometric Sketching to subset a `condor` object with the function `geometric_sketching`
9
+
* Developed a function (`condor_session_info`) to include the `SessionInfo` to the `condor` object to increase tackability of the analysis.
10
+
* Included storage of the statistical test results in the `condor` object
11
+
* Added the option to display statistics to the `plot_frequency_boxplot` function - so far for `wilcox`, `t_test` and `diffcyt`
12
+
* Added function to correlate the cyCONDOR results and the manual gating with FlowJo or similar software (`corr_plot_comparison`)
13
+
***Experimental**: Added a function to write FCS files from a `condor` object (`write_fcs`). Currently the function if writing in the .fcs file the cyCONDOR transformed values, we will change to the original values in the next iteration after more extensive testing.
14
+
1
15
# cyCONDOR 0.2.1
2
16
* Included help function to assign metaclusters (Thanks to Lucas Secchim Ribeiro)
3
17
* Removal of redundant `color_palette` parameter and other redundant lines in the source code
# This function is designed to calculate a sample-wise correlation of cell population percentages that are found in CyCondor and FlowJo.
2
+
3
+
4
+
#' corr_plot_comparison
5
+
#' @title Sample-wise correlation of cell type proportions to compare manual gating and cyCONDOR.
6
+
#' @description 'corr_plot_comparison' performs a sample-wise correlation of cell type proportions obtained via manual gating and via clustering on cyCONDOR. The result is shown in a correlogram.
7
+
#' @param condor_df data frame containing the cell type frequencies obtained via clustering and annotation in cyCONDOR.
8
+
#' @param flowjo_df data frame containing the cell type frequencies obtained via manual gating and annotation (e.g. FlowJo).
9
+
#' @param sample_col name of the column containing sample names. This column name needs to be matching between the two data frames.
10
+
#' @param method_corr correlation method used in the correlogram (default = "pearson").
11
+
#' @param tl.cex Numeric, for the size of text label (variable names).
12
+
#' @param cl.cex Numeric, text size of number-label in color-legend
#' @title Save the results from cyCONDOR as FCS file(s)
529
+
#' @description Saves the expression data, annotation data and (optionally) results from the cyCONDOR analysis (dimensionality reduction, clustering) as one or more FCS file(s).
530
+
#' @param fcd flow cytometry data set
531
+
#' @param expr_slot expr_slot from which to take marker expression values, default is "orig".
532
+
#' @param reduction_method string specifying which dimensionality reduction method to use.
533
+
#' @param reduction_slot string specifying reduction name in reduction_method to use for visualization, e.g. "pca_orig".
534
+
#' @param cluster_slot string specifying which clustering slot to use to find variable specified in cluster_var.
535
+
#' @param cluster_var string specifying variable name in cluster_slot that identifies cell population labels to be used (e.g. clusters, metaclusters or predicted labels). Must be numeric in this function - factors are converted automatically.
536
+
#' @param split_by NULL or character string specifying a metadata variable (e.g. sample_ID) to split the data. If NULL, only one FCS file with all data is generated.
537
+
#' @param dir string specifying the directory where the FCS file(s) is/are saved. Current working directory by default.
538
+
#' @param filename string specifying the filename for the FCS file. If split_by is defined, an automatic suffix according to the defined variable is assigned to the FCS files.
539
+
#' @importFrom Biobase AnnotatedDataFrame
540
+
#' @import flowCore
541
+
#' @return Message that FCS file(s) are saved in the defined directory.
542
+
#'
543
+
#' @export
544
+
write_fcs<-function(fcd=condor,
545
+
expr_slot="orig",
546
+
reduction_method=NULL,
547
+
reduction_slot=NULL,
548
+
cluster_slot=NULL,
549
+
cluster_var=NULL,
550
+
split_by=NULL,
551
+
dir= paste0(getwd(), "/"),
552
+
filename){
553
+
554
+
# Print a working to let people know this is an experimental functio
555
+
warning("This function is still experimental. Feel free to test if and report your experience, this function
556
+
is currently writing cyCONDOR transformed value, future revision will export original values.")
0 commit comments