Closed pauldeboissier closed 11 months ago
Thanks for the bug report and reproducible example, I'll take a look.
This should be fixed now. Note that when working with UCSC data you'll often need to add if_log = FALSE
as many of these datasets are not log transformed. Also, the changes may require you to install the R.utils
package (the function will let you know if this is needed).
You can pull the changes using BiocManager::install("clustifyr")
if you are using the devel version of bioconductor (3.18). Otherwise you'll need to install from github BiocManager::install("rnabioco/clustifyr")
library(clustifyr)
muscle.ref <- get_ucsc_reference(cb_url = "http://cells.ucsc.edu/?ds=muscle-cell-atlas",
cluster_col = "cell_annotation",
if_log = FALSE)
muscle.ref[1:10, 1:10]
#> Adipocytes B/T/NK cells Endothelial 1 Endothelial 2
#> RP11-34P13.7 0.000000000 0.0022718677 0.000000000 0.000000000
#> FO538757.2 0.161376145 0.1205590627 0.124490648 0.118985682
#> AP006222.2 0.059927654 0.0342805549 0.052321337 0.034302594
#> RP4-669L17.10 0.000000000 0.0030280114 0.005698021 0.000000000
#> RP11-206L10.9 0.027536158 0.0342805549 0.028170877 0.007194276
#> FAM87B 0.005063302 0.0007578629 0.000000000 0.000000000
#> LINC00115 0.004221197 0.0105581675 0.006833740 0.014337163
#> FAM41C 0.020101179 0.0239711852 0.012493064 0.004801930
#> RP11-54O7.1 0.006745388 0.0007578629 0.011363759 0.001202646
#> SAMD11 0.008424650 0.0007578629 0.001142205 0.000000000
#> Endothelial 3 Erythroblasts Fibroblasts 1 Fibroblasts 2
#> RP11-34P13.7 0.0020986367 0.00000000 0.0007285975 0.002662105
#> FO538757.2 0.0893720338 0.00000000 0.1080173330 0.146066738
#> AP006222.2 0.0451822228 0.06252036 0.0945147403 0.117359827
#> RP4-669L17.10 0.0036697289 0.00000000 0.0054515854 0.004180131
#> RP11-206L10.9 0.0223327900 0.00000000 0.0162663988 0.033698434
#> FAM87B 0.0005250722 0.00000000 0.0072621960 0.003800841
#> LINC00115 0.0104494159 0.00000000 0.0050890695 0.008342862
#> FAM41C 0.0052383567 0.00000000 0.0173414750 0.009475151
#> RP11-54O7.1 0.0026226084 0.00000000 0.0032745163 0.001902226
#> SAMD11 0.0005250722 0.00000000 0.0333304460 0.032961786
#> Fibroblasts 3 Inflammatory macrophages and monocytes
#> RP11-34P13.7 0.002290296 0.007698267
#> FO538757.2 0.115200167 0.139694740
#> AP006222.2 0.074271739 0.040883816
#> RP4-669L17.10 0.007424363 0.010761057
#> RP11-206L10.9 0.032151670 0.031941879
#> FAM87B 0.003719072 0.001544402
#> LINC00115 0.007708818 0.013814494
#> FAM41C 0.007993191 0.037912046
#> RP11-54O7.1 0.004290011 0.000000000
#> SAMD11 0.023510501 0.006163348
Created on 2023-07-13 with reprex v2.0.2
Dear Kent,
Thank you for your help, it's now perfectly working. :1st_place_medal:
Dear colleagues,
I'm currently working on single cell data from developping skeletal muscles and I am interesting in using clustifyr to annotate my cells according to the muscle cell atlas one can find on the UCSC database (here).
I am trying to use the function
get_ucsc_reference()
but it returns an error I don't know how to correct. Can you help me please ?Here is my code :
And it returns this :
This is my
sessionInfo()
:Thank you
Paul