Post

scRepertoire: TCR/BCR seq ๋ถ„์„ํ•˜๋Š” R package

๐Ÿ“‘ Borcherding, Nicholas, Nicholas L. Bormann, and Gloria Kraus. โ€œscRepertoire: An R-based toolkit for single-cell immune receptor analysis.โ€ F1000Research 9 (2020).

Installation

1
2
3
4
if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("scRepertoire")
๐Ÿšจ `ERROR: compilation failed for package โ€˜gslโ€™`

๊ทธ๋ƒฅ ๋ฐ”๋กœ R package ๊น”๋ ค๊ณ  ํ•˜๋ฉด ์•ˆ๊น”๋ฆผ. C library๋ถ€ํ„ฐ ๊น”์•„์ค˜์•ผํ•จ.

GSL C library ์„ค์น˜

1
2
3
4
5
6
7
8
wget https://gnu.mirror.constant.com/gsl/gsl-latest.tar.gz
tar -xvzf gsl-latest.tar.gz
cd gsl-2.7.1/
./configure --prefix=/source/gsl-2.7.1
make -j 10 & make install
echo -e "PATH=/source/gsl-2.7.1/bin:$PATH" >> ~/.bash_profile  
echo -e "LD_LIBRARY_PATH=/source/gsl-2.7.1/lib:$LD_LIBRARY_PATH" >> ~/.bash_profile  
source ~/.bash_profile

๋‹ค์‹œ R๋กœ ๋Œ์•„๊ฐ€์„œ gsl ์„ค์น˜.

1
install.packages("gsl")


How to run scRepertoire

Reference

  • https://xuranw.github.io/MuSiC/articles/pages/MuSiC2.html#sample-analysis
This post is licensed under CC BY 4.0 by the author.

ยฉ Subin Cho. Some rights reserved.

Using the Chirpy theme for Jekyll.