Diagnose the linkSet object, return barplot of inter/intra interaction and distance distribution
Source:R/distance.R
diagnoseLinkSet-linkSet-method.Rd
Diagnose the linkSet object, return barplot of inter/intra interaction and distance distribution
Examples
data(linkExample)
diagnoseLinkSet(linkExample)
#> `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
#> linkSet object with 5 interactions and 3 metadata columns:
#> bait seqnames_oe ranges_oe | anchor1.symbol inter_type
#> <character> <Rle> <IRanges> | <character> <character>
#> [1] Gene1 --- chr1 50-59 | Gene1 inter
#> [2] Gene1 --- chr2 150-159 | Gene1 intra
#> [3] Gene2 --- chr2 250-259 | Gene2 inter
#> [4] Gene3 --- chr4 350-359 | Gene3 intra
#> [5] Gene3 --- chr4 450-459 | Gene3 inter
#> distance
#> <integer>
#> [1] 49
#> [2] <NA>
#> [3] 50
#> [4] <NA>
#> [5] 50
#> -------
#> regions: 10 ranges and 0 metadata columns
#> seqinfo: 4 sequences from an unspecified genome; no seqlengths