Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v2.2.0 #180

Closed
wants to merge 505 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
505 commits
Select commit Hold shift + click to select a range
fe657de
update docs
samuel-marsh Apr 19, 2024
32f4838
Update changelog
samuel-marsh Apr 19, 2024
93cd0f2
bump version
samuel-marsh Apr 19, 2024
f6bbe00
change meta present messages to generic (liger and seurat compatible)
samuel-marsh Apr 23, 2024
f428f3d
add cluster name internal function LIGER
samuel-marsh Apr 23, 2024
29d9e0b
add cluster name internal function LIGER
samuel-marsh Apr 23, 2024
d7b368a
Update docs LIGER_Cells_by_Identities
samuel-marsh Apr 23, 2024
0f03f35
reexport which cells
samuel-marsh Apr 23, 2024
f96fe98
add WhichCells.liger generic
samuel-marsh Apr 23, 2024
a1c86f0
update docs
samuel-marsh Apr 23, 2024
0ee5924
Update changelog
samuel-marsh Apr 23, 2024
d779b0c
update changelog
samuel-marsh Apr 23, 2024
840c5d6
bump version and date
samuel-marsh Apr 23, 2024
a830b8c
fix version test
samuel-marsh Apr 23, 2024
21ef057
Add Features as generic
samuel-marsh Apr 24, 2024
3e2a3c2
Update downstream Cells and Features calls
samuel-marsh Apr 24, 2024
eac05a1
Update docs
samuel-marsh Apr 24, 2024
706515b
Update changelog
samuel-marsh Apr 24, 2024
74be019
bump version and date
samuel-marsh Apr 24, 2024
20adc5f
add invert to which cells
samuel-marsh Apr 24, 2024
5e623a2
update docs
samuel-marsh Apr 24, 2024
eecac98
add ident_col
samuel-marsh Apr 24, 2024
a78a980
Update docs
samuel-marsh Apr 24, 2024
f0f8bf5
Update subset_Liger to use WhichCells
samuel-marsh Apr 24, 2024
7e19649
Update changelog
samuel-marsh Apr 24, 2024
11e412d
bump version
samuel-marsh Apr 24, 2024
e18ab4a
replace LIGER_Features
samuel-marsh Apr 24, 2024
859b3f8
Add Embeddings generic
samuel-marsh Apr 24, 2024
716d5a2
reexports
samuel-marsh Apr 24, 2024
b9196dd
Update docs
samuel-marsh Apr 24, 2024
e13e987
update docs
samuel-marsh Apr 24, 2024
e7723e1
bump version
samuel-marsh Apr 24, 2024
0ade7c9
update docs fix check warnings
samuel-marsh Apr 24, 2024
b2640b4
fix check errors
samuel-marsh Apr 24, 2024
7b2c989
bump version
samuel-marsh Apr 24, 2024
6461e40
fix leiden_cluster hard code
samuel-marsh Apr 24, 2024
795e8e9
try fix idents
samuel-marsh Apr 24, 2024
b75f22e
Rename_Clusters to S3 generic
samuel-marsh Apr 24, 2024
9fdec6b
update docs
samuel-marsh Apr 24, 2024
5d75ea5
remove temp warning
samuel-marsh Apr 24, 2024
dd9d61e
Update rliger version checks and warnings
samuel-marsh Apr 24, 2024
72ef91f
update changelog
samuel-marsh Apr 24, 2024
34fd2e9
bump version
samuel-marsh Apr 24, 2024
3e4eea0
fix WhichCells.liger errors
samuel-marsh Apr 24, 2024
c646e7b
update changelog
samuel-marsh Apr 24, 2024
107bcad
Update StoreMisc to use Seurat accessor/setter function Misc()
samuel-marsh Apr 25, 2024
080bd59
Update changelog
samuel-marsh Apr 25, 2024
f9e2b22
bump version and date
samuel-marsh Apr 25, 2024
0f4eb69
fix changelog
samuel-marsh Apr 25, 2024
1e32ce2
Fix Seurat Rename_Clusters
samuel-marsh Apr 25, 2024
e3b7c53
bump version
samuel-marsh Apr 25, 2024
7c21066
reorg script
samuel-marsh Apr 25, 2024
9e62bfd
Embeddings supersedes liger_DimReduc
samuel-marsh Apr 25, 2024
37d42a8
Update docs
samuel-marsh Apr 25, 2024
28d7efd
Update news
samuel-marsh Apr 25, 2024
11b21a0
bump version
samuel-marsh Apr 25, 2024
c44a128
add Idents.liger and Idents<-.liger
samuel-marsh Apr 25, 2024
bd6ba4d
Update docs
samuel-marsh Apr 25, 2024
152e1dc
fix find defaults
samuel-marsh Apr 25, 2024
ae4aedd
fix object param naming
samuel-marsh Apr 25, 2024
831c3d3
fix plotting internals
samuel-marsh Apr 25, 2024
ea037c5
Update changelog
samuel-marsh Apr 25, 2024
a4b2195
bump version
samuel-marsh Apr 25, 2024
115c533
Idents.liger fixes
samuel-marsh Apr 29, 2024
704f15f
bump version and date
samuel-marsh Apr 29, 2024
1edadb5
style
samuel-marsh Apr 30, 2024
8e0e816
fix mad stats
samuel-marsh May 8, 2024
8d78441
bump changelog
samuel-marsh May 8, 2024
fd04835
bump version and date
samuel-marsh May 8, 2024
d0dae63
check mad_num is valid
samuel-marsh May 8, 2024
1aafeed
update changelog
samuel-marsh May 8, 2024
e767f21
allow setting active ident
samuel-marsh May 8, 2024
919e49d
update changelog
samuel-marsh May 8, 2024
fea4f40
bump version
samuel-marsh May 8, 2024
8a6edc9
cluster stats sort by frequency
samuel-marsh May 9, 2024
5540f72
repalce .data[["var"]] with all_of
samuel-marsh May 9, 2024
7272977
edit docs
samuel-marsh May 9, 2024
c87302e
Update docs
samuel-marsh May 9, 2024
2102288
update changelog
samuel-marsh May 9, 2024
b4eada1
bump version and date
samuel-marsh May 9, 2024
6b89fe2
add prop plot option
samuel-marsh May 9, 2024
d45d2c5
update docs
samuel-marsh May 9, 2024
e9b66b4
bump version
samuel-marsh May 9, 2024
e7cea8a
fix error
samuel-marsh May 9, 2024
0ddd224
change patchwork
samuel-marsh May 9, 2024
e0aae86
fix spacing
samuel-marsh May 9, 2024
6ec7626
add dual species mito ribo
samuel-marsh May 9, 2024
d7a182f
update docs
samuel-marsh May 9, 2024
8346652
bump version
samuel-marsh May 9, 2024
b3c571e
update dimplot params for prop plot
samuel-marsh May 9, 2024
d48c975
update docs
samuel-marsh May 9, 2024
1127bdf
update changelog
samuel-marsh May 9, 2024
4b1ff26
Update changelog
samuel-marsh May 9, 2024
8b3f42f
bump version
samuel-marsh May 9, 2024
34c7731
add dual assay plot dual color option
samuel-marsh May 10, 2024
03a0f39
update docs
samuel-marsh May 10, 2024
ae4b1c9
update changelog
samuel-marsh May 10, 2024
39e2ed6
bump version and date
samuel-marsh May 10, 2024
2be9cad
Update cellbender dual assay plot vignette for 2.2.0 release
samuel-marsh May 10, 2024
8b35757
Remove fully deprecated param
samuel-marsh May 10, 2024
a2b766c
move Gene_Present to deprecated warnings.
samuel-marsh May 10, 2024
1321578
Add additional message for full removal of deprecation errors (curren…
samuel-marsh May 10, 2024
92dc077
remove deprecated param
samuel-marsh May 10, 2024
79e17f3
update docs
samuel-marsh May 10, 2024
29ab120
remove deprecated parameters
samuel-marsh May 10, 2024
95f1361
update docs
samuel-marsh May 10, 2024
5ce415a
remove deprecated parameters
samuel-marsh May 10, 2024
b66befe
Update docs
samuel-marsh May 10, 2024
7fbdcb8
remove deprecated parameters
samuel-marsh May 10, 2024
23c9e94
update docs
samuel-marsh May 10, 2024
20ca58a
bump version
samuel-marsh May 10, 2024
079eeaa
update warning
samuel-marsh May 10, 2024
b977023
fix warning
samuel-marsh May 10, 2024
6cbfb17
revert to x
samuel-marsh May 10, 2024
59da39c
fix return
samuel-marsh May 10, 2024
df20692
fix prop plot
samuel-marsh May 10, 2024
26583e1
prop label
samuel-marsh May 10, 2024
adab84c
update docs
samuel-marsh May 10, 2024
9f363f3
fix cutoff values
samuel-marsh May 10, 2024
1fc090e
expand futher
samuel-marsh May 10, 2024
b59a400
change expansion
samuel-marsh May 10, 2024
647a04f
expand more
samuel-marsh May 10, 2024
e54cfba
fixing overlap
samuel-marsh May 10, 2024
e23ca06
move log10 change
samuel-marsh May 10, 2024
b1fab29
update code to appropriate internals
samuel-marsh May 16, 2024
e75e567
replace incorrect example code
samuel-marsh May 16, 2024
77ed293
fix case check manual
samuel-marsh May 24, 2024
2e81c00
update docs
samuel-marsh May 24, 2024
4e2dea6
update build ignore
samuel-marsh May 29, 2024
ee84b17
Create data-raw and add scripts for generation of package data
samuel-marsh May 29, 2024
a8fe03f
Add msigdb ensebl list
samuel-marsh May 29, 2024
2e10cc9
add ensembl list
samuel-marsh May 29, 2024
7f46132
Update sysdata
samuel-marsh May 29, 2024
86a6d3b
bump version and date
samuel-marsh May 29, 2024
6ed8de7
Add msigdb ensembl ID retrieval
samuel-marsh May 29, 2024
de47536
move script
samuel-marsh May 29, 2024
6c32f98
update docs
samuel-marsh May 29, 2024
a249e38
Add msigdb ensembl IDs
samuel-marsh May 29, 2024
994e543
Update and rename after adding hemo list creation
samuel-marsh May 29, 2024
19f4c2a
Add hemo ensembl IDs
samuel-marsh May 29, 2024
58bc7d7
Add hemo ensembl ids
samuel-marsh May 29, 2024
e59c432
remove redundant mark
samuel-marsh May 29, 2024
1e473d3
Add hemo ensembl IDs
samuel-marsh May 29, 2024
2f561c5
Update sysdata
samuel-marsh May 29, 2024
9cb5d3f
ensembl ids hemo liger and fix manual entries
samuel-marsh May 29, 2024
b242233
fix build errors
samuel-marsh May 29, 2024
23b3a33
Update docs
samuel-marsh May 29, 2024
9c861ec
add ensembl ids msigdb liger
samuel-marsh May 29, 2024
ac0fb92
add IEG ensembl IDs and source code
samuel-marsh May 29, 2024
c30d5cd
Update package data
samuel-marsh May 29, 2024
40e7670
Update docs
samuel-marsh May 29, 2024
8536fda
update ieg ensembl
samuel-marsh May 29, 2024
3d58736
bump version
samuel-marsh May 29, 2024
700edb5
Update liger ensembl IDs
samuel-marsh May 30, 2024
3f2f525
Update changelog
samuel-marsh May 30, 2024
36fd8c7
Update ribo and mito lists
samuel-marsh May 30, 2024
d9a6e11
bump version and date
samuel-marsh May 30, 2024
4c53c7d
update ensembl version and date
samuel-marsh May 30, 2024
8885fc0
Update docs
samuel-marsh May 30, 2024
ffc1bb3
rliger variable all 2.0.0 compatible
samuel-marsh May 30, 2024
211104d
Update docs
samuel-marsh May 30, 2024
c6c3b64
Update changelog
samuel-marsh May 30, 2024
73df56b
bump version
samuel-marsh May 30, 2024
c61840f
fix error
samuel-marsh May 30, 2024
5d4bf8a
plotting
samuel-marsh May 30, 2024
192b26a
add messages
samuel-marsh Jun 4, 2024
5a25fc4
fix species
samuel-marsh Jun 4, 2024
445422e
Update
samuel-marsh Jun 12, 2024
0b51e6e
Update
samuel-marsh Jun 12, 2024
23f1c3f
update plots
samuel-marsh Jun 12, 2024
87ae165
revert to figure out
samuel-marsh Jun 12, 2024
a2bd588
first update
samuel-marsh Jun 12, 2024
a66eea0
fix
samuel-marsh Jun 12, 2024
63826e0
expand zero
samuel-marsh Jun 12, 2024
ab6226c
add plot
samuel-marsh Jun 12, 2024
51930be
fix rectangles
samuel-marsh Jun 12, 2024
615ff45
factor cor plot
samuel-marsh Jun 12, 2024
320bc08
fix plotting
samuel-marsh Jun 12, 2024
5fe2341
fix double axis
samuel-marsh Jun 12, 2024
4e6a946
add manual entry
samuel-marsh Jun 12, 2024
65400f3
update docs
samuel-marsh Jun 12, 2024
f3fd4c2
bump version and date
samuel-marsh Jun 12, 2024
b702a1e
fix
samuel-marsh Jun 13, 2024
110821d
fix name collision possibility with meta data
samuel-marsh Aug 6, 2024
57fae6d
update changelog
samuel-marsh Aug 6, 2024
ba5d76e
bump version and date
samuel-marsh Aug 6, 2024
ceb6d3b
reveal reduction explicitly
samuel-marsh Aug 20, 2024
a57352a
update roxygen version
samuel-marsh Aug 20, 2024
177798a
Update docs
samuel-marsh Aug 20, 2024
ce5f7c6
update changelog
samuel-marsh Aug 20, 2024
d162284
bump version and date
samuel-marsh Aug 20, 2024
988e593
add to plotting
samuel-marsh Aug 20, 2024
b8aef43
add show row/column names param to clustered dotplot
samuel-marsh Aug 22, 2024
8f8295f
update docs
samuel-marsh Aug 22, 2024
a6152fb
Update changelog
samuel-marsh Aug 22, 2024
33cc3a4
bump version and date
samuel-marsh Aug 22, 2024
2f3ef66
revert test
samuel-marsh Aug 22, 2024
95c4ff3
fix error
samuel-marsh Aug 22, 2024
baf2aea
add row and column name side param to clustered Dotplot
samuel-marsh Aug 22, 2024
ceec35a
add informative warnings
samuel-marsh Aug 22, 2024
3922c30
Update docs
samuel-marsh Aug 22, 2024
06f913f
Update changelog
samuel-marsh Aug 22, 2024
fdf5401
bump version
samuel-marsh Aug 22, 2024
9cb81a6
fix after mtg
samuel-marsh Aug 22, 2024
64fc500
fixes
samuel-marsh Aug 23, 2024
78bfbf0
fix anno block
samuel-marsh Aug 23, 2024
f69258c
update
samuel-marsh Aug 23, 2024
b2372c1
update parameter
samuel-marsh Aug 23, 2024
1f82a5a
update docs
samuel-marsh Aug 23, 2024
aa68554
bump version and date
samuel-marsh Aug 23, 2024
2cc47ba
update split vector
samuel-marsh Aug 23, 2024
5273c84
Update changelog
samuel-marsh Aug 23, 2024
3bca33e
Update docs
samuel-marsh Aug 23, 2024
a15b685
bump version
samuel-marsh Aug 23, 2024
a3d5b53
allow splitting cluster highlight plot
samuel-marsh Sep 3, 2024
4e36688
update docs
samuel-marsh Sep 3, 2024
0ad131b
allow split in cluster highlight
samuel-marsh Sep 4, 2024
8cf95a4
allow split in cliuster plot (adjust title size parameter)
samuel-marsh Sep 4, 2024
a8e0609
update docs
samuel-marsh Sep 4, 2024
4096052
update parameters and docs
samuel-marsh Sep 4, 2024
d57ffaf
Update docs
samuel-marsh Sep 4, 2024
4353bf7
update for ordering of plots
samuel-marsh Sep 4, 2024
f10420c
Update docs
samuel-marsh Sep 4, 2024
f29bf06
bump version and date
samuel-marsh Sep 4, 2024
47ba630
fix if
samuel-marsh Sep 4, 2024
1fdc4b5
add num_columns
samuel-marsh Sep 4, 2024
3ec2727
Update docs
samuel-marsh Sep 4, 2024
0d5050e
add legend positioning
samuel-marsh Sep 12, 2024
741310e
Update legend orientation
samuel-marsh Sep 12, 2024
908ae8f
control rows for horizontal legend
samuel-marsh Sep 12, 2024
1025ec8
add hide ident legend
samuel-marsh Sep 12, 2024
e30acb0
fix legend rows error when unspecified
samuel-marsh Sep 12, 2024
8b67d77
add else condition
samuel-marsh Sep 12, 2024
d1c8798
remove color bar param
samuel-marsh Sep 12, 2024
a285b8c
fix error
samuel-marsh Sep 12, 2024
4c2480e
update legend check
samuel-marsh Sep 12, 2024
6b80f40
update manual docs
samuel-marsh Sep 12, 2024
99f4e67
Update docs
samuel-marsh Sep 12, 2024
a8f86be
update changelog
samuel-marsh Sep 12, 2024
3d124e9
bump version and date
samuel-marsh Sep 12, 2024
60f4c4b
Update changelog
samuel-marsh Sep 12, 2024
28c71c0
styling
samuel-marsh Sep 13, 2024
8e7cded
mouse symbol support functions
samuel-marsh Sep 13, 2024
3ba05df
Update mouse symbols
samuel-marsh Sep 13, 2024
b849f72
Update namespace
samuel-marsh Sep 13, 2024
a5baf12
Update docs
samuel-marsh Sep 13, 2024
e6b561e
wrong code fix
samuel-marsh Sep 13, 2024
06b337a
add back column names
samuel-marsh Sep 13, 2024
4f17938
update changelog
samuel-marsh Sep 13, 2024
d64310f
bump version and date
samuel-marsh Sep 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ vignettes/*.orig$
^README\.Rmd$
^cran-comments\.md$
^CRAN-SUBMISSION$
^data-raw$
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Package: scCustomize
Type: Package
Title: Custom Visualizations & Functions for Streamlined Analyses of Single Cell Sequencing
Description: Collection of functions created and/or curated to aid in the visualization and analysis of single-cell data using 'R'. 'scCustomize' aims to provide 1) Customized visualizations for aid in ease of use and to create more aesthetic and functional visuals. 2) Improve speed/reproducibility of common tasks/pieces of code in scRNA-seq analysis with a single or group of functions. For citation please use: Marsh SE (2021) "Custom Visualizations & Functions for Streamlined Analyses of Single Cell Sequencing" <doi:10.5281/zenodo.5706430> RRID:SCR_024675.
Version: 2.1.2
Date: 2024-02-27
Version: 2.1.2.9077
Date: 2024-09-13
Authors@R: c(
person(given = "Samuel", family = "Marsh", email = "[email protected]", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-3012-6945")),
person(given = "Ming", family = "Tang", role = c("ctb"), email = "[email protected]"),
Expand Down Expand Up @@ -68,4 +68,4 @@ License: GPL (>= 3)
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
39 changes: 38 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,34 +1,52 @@
# Generated by roxygen2: do not edit by hand

S3method("Idents<-",liger)
S3method(Add_Cell_Complexity,Seurat)
S3method(Add_Cell_Complexity,liger)
S3method(Add_Cell_QC_Metrics,Seurat)
S3method(Add_Cell_QC_Metrics,liger)
S3method(Add_Hemo,Seurat)
S3method(Add_Hemo,liger)
S3method(Add_Mito_Ribo,Seurat)
S3method(Add_Mito_Ribo,liger)
S3method(Add_Top_Gene_Pct,Seurat)
S3method(Add_Top_Gene_Pct,liger)
S3method(Cells,liger)
S3method(Embeddings,liger)
S3method(Features,liger)
S3method(Fetch_Meta,Seurat)
S3method(Fetch_Meta,liger)
S3method(Idents,liger)
S3method(Rename_Clusters,Seurat)
S3method(Rename_Clusters,liger)
S3method(WhichCells,liger)
S3method(as.LIGER,Seurat)
S3method(as.LIGER,list)
S3method(as.Seurat,liger)
S3method(as.anndata,Seurat)
S3method(as.anndata,liger)
export("Idents<-")
export(Add_Alt_Feature_ID)
export(Add_CellBender_Diff)
export(Add_Cell_Complexity)
export(Add_Cell_Complexity_LIGER)
export(Add_Cell_Complexity_Seurat)
export(Add_Cell_QC_Metrics)
export(Add_Hemo)
export(Add_Mito_Ribo)
export(Add_Mito_Ribo_LIGER)
export(Add_Mito_Ribo_Seurat)
export(Add_Pct_Diff)
export(Add_Sample_Meta)
export(Add_Top_Gene_Pct)
export(Add_Top_Gene_Pct_Seurat)
export(Barcode_Plot)
export(Blank_Theme)
export(Case_Check)
export(CellBender_Diff_Plot)
export(CellBender_Feature_Diff)
export(Cell_Highlight_Plot)
export(Cells)
export(Change_Delim_All)
export(Change_Delim_Prefix)
export(Change_Delim_Suffix)
Expand All @@ -49,16 +67,21 @@ export(DimPlot_LIGER)
export(DimPlot_scCustom)
export(DiscretePalette_scCustomize)
export(DotPlot_scCustom)
export(Embeddings)
export(Extract_Modality)
export(Extract_Sample_Meta)
export(Extract_Top_Markers)
export(Factor_Cor_Plot)
export(FeaturePlot_DualAssay)
export(FeaturePlot_scCustom)
export(FeatureScatter_scCustom)
export(Feature_Present)
export(Features)
export(Fetch_Meta)
export(Find_Factor_Cor)
export(Gene_Present)
export(Hue_Pal)
export(Idents)
export(Iterate_Barcode_Rank_Plot)
export(Iterate_Cluster_Highlight_Plot)
export(Iterate_DimPlot_bySample)
Expand All @@ -69,7 +92,7 @@ export(Iterate_Plot_Density_Custom)
export(Iterate_Plot_Density_Joint)
export(Iterate_VlnPlot_scCustom)
export(JCO_Four)
export(LIGER_Features)
export(LIGER_Cells_by_Identities)
export(Liger_to_Seurat)
export(MAD_Stats)
export(Median_Stats)
Expand Down Expand Up @@ -114,6 +137,7 @@ export(Read_CellBender_h5_Multi_Directory)
export(Read_CellBender_h5_Multi_File)
export(Read_GEO_Delim)
export(Read_Metrics_10X)
export(Read_Metrics_CellBender)
export(Reduction_Loading_Present)
export(Rename_Clusters)
export(Replace_Suffix)
Expand All @@ -134,23 +158,28 @@ export(Seq_QC_Plot_Transcriptome)
export(Seq_QC_Plot_UMIs)
export(Setup_scRNAseq_Project)
export(Single_Color_Palette)
export(SpatialDimPlot_scCustom)
export(Split_FeatureScatter)
export(Split_Layers)
export(Split_Vector)
export(Stacked_VlnPlot)
export(Store_Misc_Info_Seurat)
export(Store_Palette_Seurat)
export(Subset_LIGER)
export(Top_Genes_Factor)
export(UnRotate_X)
export(Updated_HGNC_Symbols)
export(Updated_MGI_Symbols)
export(VariableFeaturePlot_scCustom)
export(Variable_Features_ALL_LIGER)
export(VlnPlot_scCustom)
export(WhichCells)
export(as.LIGER)
export(as.Seurat)
export(as.anndata)
export(plotFactors_scCustom)
export(scCustomize_Palette)
export(seq_zeros)
export(theme_ggprism_mod)
export(viridis_dark_high)
export(viridis_inferno_dark_high)
Expand Down Expand Up @@ -182,11 +211,16 @@ importFrom(Seurat,Read10X_h5)
importFrom(Seurat,VariableFeaturePlot)
importFrom(Seurat,VizDimLoadings)
importFrom(Seurat,VlnPlot)
importFrom(SeuratObject,"Idents<-")
importFrom(SeuratObject,Cells)
importFrom(SeuratObject,DefaultDimReduc)
importFrom(SeuratObject,Embeddings)
importFrom(SeuratObject,Features)
importFrom(SeuratObject,Idents)
importFrom(SeuratObject,JoinLayers)
importFrom(SeuratObject,LayerData)
importFrom(SeuratObject,Layers)
importFrom(SeuratObject,WhichCells)
importFrom(SeuratObject,as.Seurat)
importFrom(circlize,colorRamp2)
importFrom(cowplot,theme_cowplot)
Expand All @@ -208,6 +242,7 @@ importFrom(dplyr,mutate)
importFrom(dplyr,n)
importFrom(dplyr,pull)
importFrom(dplyr,rename)
importFrom(dplyr,right_join)
importFrom(dplyr,select)
importFrom(dplyr,setdiff)
importFrom(dplyr,slice)
Expand All @@ -216,6 +251,7 @@ importFrom(dplyr,summarise)
importFrom(dplyr,summarize)
importFrom(dplyr,union)
importFrom(forcats,fct_relevel)
importFrom(forcats,fct_rev)
importFrom(ggbeeswarm,geom_quasirandom)
importFrom(ggplot2,theme)
importFrom(ggprism,theme_prism)
Expand Down Expand Up @@ -271,6 +307,7 @@ importFrom(stringi,stri_replace_last_fixed)
importFrom(stringr,str_c)
importFrom(stringr,str_detect)
importFrom(stringr,str_extract)
importFrom(stringr,str_pad)
importFrom(stringr,str_replace)
importFrom(stringr,str_replace_na)
importFrom(stringr,str_to_lower)
Expand Down
86 changes: 86 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,89 @@
# scCustomize 2.2.0 (2024-XX-XX)
## Added
- **Major Updates to Functionality with rliger package:**
- *Added new utility functions to interact with liger v2.0.0+ object format change:*
- `Subset_LIGER` to quickly subset by cluster or other meta data variable.
- `LIGER_Cells_by_Identities` to extract list of barcodes sorted by values within given meta data column.
- *Extended the following Seurat/SeuratObject generic functions to work seamlessly with liger objects:*
- `Cells` to extract vector of all cells or list vectors of cells by dataset.
- `Features` to extract vector of all features or list vectors of features by dataset.
- `WhichCells` to extract vector or list of cells matching identity criteria.
- `Embeddings` to extract matrix containing dimensionality reduction embeddings or iNMF h.norm matrix.
- `Idents` and `Idents<-` to extract and set default identities/clusters.
- *Updated functions to interact with both old and new style liger objects:*
- `plotFactors_scCustom()`
- `Fetch_Meta`
- `Top_Genes_Factor`
- `Add_Mito_Ribo`
- `Add_Cell_Complexity`
- `DimPlot_LIGER`
- `Variable_Features_ALL_LIGER`
- *New functions compatible with old and new style liger objects:*
- Added new function `Add_Hemo` to add hemoglobin gene percentage for QC. Also added as parameter to `Add_Cell_QC_Metrics`. `Add_Hemo` supports all default species: (human, mouse, marmoset, zebrafish, rat, drosophila, rhesus macaque, and chicken) and works with both Seurat and liger objects.
- *New scCustomize generics to function across both Seurat and Liger objects*
- `Add_Hemo` (see above).
- `Rename_Clusters` now S3 generic for setting new active.ident (Seurat) or defaultCluster (Liger).
- *New functions for rliger v2.0.0+ only:*
- Added new function `Find_Factor_Cor` to return correlation matrix between factor gene loadings from liger object.
- Added new function `Factor_Cor_Plot` to plot positive correlations from liger object.
- *Updated functions to recommend new rliger equivalents for users with rliger v2.0.0+:*
- `as.LIGER`
- `as.Seurat`

- **General scCustomize Updates:**
- Added new function `Add_Hemo` to add hemoglobin gene percentage for QC. Also added as parameter to `Add_Cell_QC_Metrics`. `Add_Hemo` supports all default species: (human, mouse, marmoset, zebrafish, rat, drosophila, and rhesus macaque) and works with both Seurat and liger objects.
- Added new parameters `data_name` and `overwrite` to `Add_Alt_Feature_ID` to support new storage location.
- Added new function `seq_zeros()` to create sequences with preceding zeros.
- Added new function `Read_Metrics_CellBender` to read in the summary metrics csv file produced by CellBender. Can either read all metrics files from parent directory of output folders or a single metrics file.
- Added `cells` parameter explicitly to `FeatureScatter_scCustom`.
- Added Chicken (Gallus gallus) to default species for QC functions. Thanks @dpearton; ([#176](https://github.com/samuel-marsh/scCustomize/issues/176)).
- Added new plotting function `SpatialDimPlot_scCustom`. Thanks for encouragement @puapinyoying @nina-hahn ([#160](https://github.com/samuel-marsh/scCustomize/issues/160)).
- Added ability of `Read_Metrics_10X` to read a single metrics csv file and return data formatted the same way as when reading multiple files.
- Added parameter `cutoff_line_width` to the `QC_Plot_*` family of plots to control line thickness of cutoff lines.
- `Cluster_Stats_All_Samples` now returns data.frame with row order reflecting the frequency of cells.
- `Add_Mito_Ribo` now supports datasets aligned to multi-species reference genomes ([#184](https://github.com/samuel-marsh/scCustomize/issues/184)).
- Added parameter `add_prop_plot` to `DimPlot_scCustom` to return plot showing number or percent of cells per identity along with the DimPlot.
- Added optional parameter `colors_use_assay2` to `FeaturePlot_DualAssay` which allows for specification of different palettes for the two plots ([#182](https://github.com/samuel-marsh/scCustomize/issues/182)).
- Added new folder and scripts (see "data-raw/" on GitHub) detailing the creation of gene lists used in `Add_Cell_QC_Metrics`.
- Added ensembl ID support for percent hemoglobin, msigdb, and IEG gene sets ([#186](https://github.com/samuel-marsh/scCustomize/issues/186)).
- Explicitly reveal the `reduction` parameter in `Cluster_Highlight_Plot` and `Meta_Highlight_Plot` ([#198](https://github.com/samuel-marsh/scCustomize/issues/198)).
- Added `show_row_names` `show_column_names`, `column_names_side`, `row_names_side`, `legend_position`, `legend_orientation`, `show_ident_legend`, and `show_ident_colors` parameters to `Clustered_DotPlot`. Thanks for idea and code @johnminglu ([#199](https://github.com/samuel-marsh/scCustomize/issues/199)).
- Updated `Split_Vector` to allow user to specify number of chunks or size of chunks for splitting vector.
- Added `Updated_MGI_Symbols` to check for update gene names/symbols in mouse data ([#202](https://github.com/samuel-marsh/scCustomize/issues/202)).



## Changed
- **BREAKING CHANGES** `Add_Top_Gene_Pct_Seurat` is now S3 generic that works with both Seurat and liger objects and has been renamed `Add_Top_Gene_Pct`.
- `Add_Cell_QC_Metrics` is now S3 generic and works with both Seurat and liger objects.
- Changed storage location for `Add_Alt_Feature_ID` to `@misc` slot of object for safer storage across object filtering.
- Added error check in `as.anndata` to explicitly check for installation of anndata before starting conversion ([#162](https://github.com/samuel-marsh/scCustomize/issues/162)).
- Update `RenameClusters` to enable storgae of both old idents and new idents in meta.data within the function.
- Updated `Plot_Median_Genes`, `Plot_Median_UMIs`, `Plot_Median_Mito`, `Plot_Median_Other`, `Plot_Cells_per_Sample` to understand "ident" as grouping variable.
- Updated `Store_Misc_Info_Seurat` to use Seurat accessor/setter function `Seurat::Misc()`.


## Fixes
- Nebulosa plotting functions `Plot_Density_Custom` and `Plot_Density_Joint_Only` have been re-enabled for users with ggplot2 v3.5.0 following Nebulosa v1.12.1 update patch.
- Fixed bug causing error in `Add_Cell_QC_Metrics` when `overwrite = TRUE` ([#165](https://github.com/samuel-marsh/scCustomize/issues/165)).
- Fixed wrong description of parameter in manual entry for `DotPlot_scCustom` ([#158](https://github.com/samuel-marsh/scCustomize/issues/158)).
- Fixed several potential errors in `as.anndata` from Seurat conversion that previously caused failures ([#168](https://github.com/samuel-marsh/scCustomize/issues/168)).
- Fixed errors in `Create_Cluster_Annotation_File` if for file path and csv name errors.
- Fixed error when using `plot_median` and more than one feature in `VlnPlot_scCustom` ([#169](https://github.com/samuel-marsh/scCustomize/issues/169)).
- Fixed bug while collecting legends for `DimPlot_scCustom` due to changes in guides updated with ggplot2 v3.5.0 ([#171](https://github.com/samuel-marsh/scCustomize/issues/171)).
- Fixed error in `Add_Sample_Meta` that still errored when setting `na_ok = TRUE`.
- Fixed errors in `Plot_Median_*` family that caused issues when `group_by` parameter was NULL.
- Fixed errors in `FeaturePlot_scCustom` when setting `combine = FALSE`.
- Fixed bug in `DimPlot_scCustom` that could cause blank plot when rasterizing points.
- Fixed bug in `MAD_Stats` that didn't respect `mad_num` parameter ([#183](https://github.com/samuel-marsh/scCustomize/issues/183)).
- Fixed bugs in `MAD_Stats` that could cause issues if `mad_num` was less than or equal to 0 and returned error if setting `group_by_var` to "ident".
- Replaced lingering instances of deprecated tidyr code .data[["var"]] with update `all_of`/`any_of` syntax.
- Fixed issue that could occur with some meta data modifying functions due to column name collisions in internals of function ([#193](https://github.com/samuel-marsh/scCustomize/issues/193)).
- Fixed issue that caused error when using `Cluster_Highlight_Plot` with `split.by` parameter ([#201](https://github.com/samuel-marsh/scCustomize/issues/201)).
- Spelling and style fixes. Thanks @kew24.



# scCustomize 2.1.2 (2024-02-27)
## Added
- None.
Expand Down
Loading
Loading