count_repeats: Count uniquely mapped reads to the repeat regions of interest...

Description Usage Arguments See Also Examples

View source: R/main.R

Description

This function returns a raw count matrix of the total number of reads originated from TE sequences. Only the reads exhibiting 100% overlap with given TE regions are considered and the user needs to specify individual path of each BAM file as input.

Usage

1
count_repeats(bamlist, namelist, ranges)

Arguments

bamlist

It is a vector consisting of the paths of BAM files.

namelist

It is a vector consisting of sample names associated with BAM files. The user must provide same sample names being used in the given raw count matrix of genes. The order of sample names also must be the same as the gene count matrix.

ranges

It is a GRange object. It takes the output of get_overlaps() function as input.

See Also

.

Examples

1
2
#Count uniquely mapped reads to the repeat regions.
TEffectR::count_repeats(bamlist = bamlist, namelist = namelist, ranges = ranges)

ferygood/TEffectR_yao documentation built on Jan. 1, 2021, 1:20 a.m.