Imports "*perind.counts.gz" from LeafCutter output and transforms the raw output into standardized junction output format. Results of one patient should be stored in the given path.

leafcutter_transform(path)

Arguments

path

The path to leafcutter output

Value

A tibble in standardized junction format

Examples

path <-  system.file("extdata", "", package = "splice2neo")
leafcutter_juncs <- leafcutter_transform(path)
#> Importing Leafcutter files...
#> Importing Leafcutter files completed
leafcutter_juncs
#> # A tibble: 3 × 7
#>   junction_start junction_end strand chromosome Gene  class junc_id             
#>   <chr>          <chr>        <chr>  <chr>      <lgl> <lgl> <chr>               
#> 1 896180         897009       +      chr1       NA    NA    chr1:896180-897009:+
#> 2 889462         889844       -      chr1       NA    NA    chr1:889462-889844:-
#> 3 889462         891303       -      chr1       NA    NA    chr1:889462-891303:-