README.md

LinTInd

Installation via GitHub

devtools::install_github("mana-W/LinTInd")

Installation via Bioconductor

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("LinTInd")

Data prepare

To generate the CB_UMI from fastq files, which will be used in the following. You can use CB_UMI.sh in: https://github.com/mana-W/chenlab_you.

Usage

Input fileļ¼š Example files is in LinTInd/inst/extdata data is from CB_UMI fa is ref file cutsite is a file define each sgRNA start and end positon celltype.tsv is a file include cell barcode and its' annotations, header: Cell.BC Cell.type

Quick start

library(LinTInd)
data<-paste0(system.file("extdata",package = 'LinTInd'),"/CB_UMI")
fafile<-paste0(system.file("extdata",package = 'LinTInd'),"/V3.fasta")
cutsite<-paste0(system.file("extdata",package = 'LinTInd'),"/V3.cutSites")
celltype<-paste0(system.file("extdata",package = 'LinTInd'),"/celltype.tsv")
data<-read.table(data,sep="\t",header=T)
ref<-ReadFasta(fafile)
cutsite<-read.table(cutsite,col.names = c("indx","start","end"))
celltype<-read.table(celltype,header=T,stringsAsFactors=F)

Or load the example data

data("example_data",package = "LinTInd")

Array identify

Alignment

scarinfo<-FindIndel(data=data,scarfull=ref,scar=cutsite,indel.coverage="All",type="test",cln=1)
scarinfo<-IndelForm(scarinfo,cln=1)

Define scar pattern for each cell

cellsinfo<-IndelIdents(scarinfo,method.use="umi.num",cln=1)

Pattern visualization

IndelPlot(cellsinfo = cellsinfo)

### Indel extracted wzxhzdk:7 ### Tree reconstruct wzxhzdk:8 ### Visualization **Similarity of each pair of clusters** wzxhzdk:9

***Visualization for tree*** wzxhzdk:10

Or wzxhzdk:11



mana-W/LinTInd documentation built on Feb. 14, 2022, 10:13 a.m.