CalculateFripScore: Calculate Fragments Fraction of reads in peaks (FRiP) score

Description Usage Arguments Value Examples

View source: R/calculatefripscore.R

Description

The fragments.tsv.gz file from 10x cellranger_atac output contains all barcodes found from the bam file. one can provide a valid barcode vector to filter those out if needed.

Usage

1
CalculateFripScore(frag_gz_file, peaks, barcodeList = NULL)

Arguments

frag_gz_file

a fragment.tsv.gz file output from 10x cellranger-atac.

peaks

a 3 column bed file for called peaks.

Value

a tibble with 3 columns: sample, depth, Frip score.

Examples

1
2
3
4
## Not run: 
CalculateFripScore("fragments.tsv.gz", "peaks.bed")

## End(Not run)

crazyhottommy/scATACutils documentation built on June 15, 2020, 9:31 p.m.