sites2matrix
sites2matrix.Rd
convert the splicing sites vector for all reads to a binary matrix
Arguments
- data
A dataframe recording the splicing sites for a read, including start, middle splicing sites, end and polyA
- in_sites_index
A string vector recording unique start position for all middle exons
- out_sites_index
A string vector recording unique end position for all middle exons
- strand
The strand of this gene