|
| | PermutationDistribution (Annotation parentRegion, String bamFile, String bedFile, int numPermutations) throws IOException |
| |
| | PermutationDistribution (Annotation parentRegion, String bamFile, String bedFile, int numPermutations, int maxGenomicSpan) throws IOException |
| |
| | PermutationDistribution (Annotation parentRegion, AlignmentModel alignments, CoordinateSpace coordinateSpace, int numPermutations) |
| |
| | PermutationDistribution (Annotation parentRegion, AlignmentModel alignments, CoordinateSpace coordinateSpace, int numPermutations, int maxGenomicSpan) |
| |
| double | getScanPvalue (Annotation window) |
| |
| EmpiricalDistribution | getScanDistribution (int windowSize) |
| |
| void | writeWigEachPosition (String outWig) throws IOException |
| |
| void | writeWindowsWithPvalue (int windowSize, String outBed) throws IOException |
| |
|
| static void | main (String[] args) throws IOException |
| |
| broad.core.math.PermutationDistribution.PermutationDistribution |
( |
Annotation |
parentRegion, |
|
|
String |
bamFile, |
|
|
String |
bedFile, |
|
|
int |
numPermutations |
|
) |
| throws IOException |
- Parameters
-
| parentRegion | Parent region |
| bamFile | Bam file |
| bedFile | Bed file for transcriptome space |
| numPermutations | Number of permutations |
- Exceptions
-
| broad.core.math.PermutationDistribution.PermutationDistribution |
( |
Annotation |
parentRegion, |
|
|
String |
bamFile, |
|
|
String |
bedFile, |
|
|
int |
numPermutations, |
|
|
int |
maxGenomicSpan |
|
) |
| throws IOException |
- Parameters
-
| parentRegion | Parent region |
| bamFile | Bam file |
| bedFile | Bed file for transcriptome space |
| numPermutations | Number of permutations |
| maxGenomicSpan | Max genomic span for paired reads |
- Exceptions
-
| broad.core.math.PermutationDistribution.PermutationDistribution |
( |
Annotation |
parentRegion, |
|
|
AlignmentModel |
alignments, |
|
|
CoordinateSpace |
coordinateSpace, |
|
|
int |
numPermutations |
|
) |
| |
- Parameters
-
| parentRegion | Parent annotation |
| alignments | Collection of annotations to count e.g. read mappings |
| coordinateSpace | Coordinate space |
| numPermutations | Number of permutations |
| broad.core.math.PermutationDistribution.PermutationDistribution |
( |
Annotation |
parentRegion, |
|
|
AlignmentModel |
alignments, |
|
|
CoordinateSpace |
coordinateSpace, |
|
|
int |
numPermutations, |
|
|
int |
maxGenomicSpan |
|
) |
| |
- Parameters
-
| parentRegion | Parent annotation |
| alignments | Collection of annotations to count e.g. read mappings |
| coordinateSpace | Coordinate space |
| numPermutations | Number of permutations |
| maxGenomicSpan | Max genomic span for paired reads |
Get scan distribution for the window size
- Parameters
-
- Returns
- Scan distribution
| double broad.core.math.PermutationDistribution.getScanPvalue |
( |
Annotation |
window | ) |
|
Get scan P value of window
- Parameters
-
- Returns
- The percentage of permutations with a window of the same size that has more overlapping fragments
| static void broad.core.math.PermutationDistribution.main |
( |
String[] |
args | ) |
throws IOException |
|
static |
| void broad.core.math.PermutationDistribution.writeWigEachPosition |
( |
String |
outWig | ) |
throws IOException |
Write a wig file of -log10(Pvalue) at each position of annotation
- Parameters
-
- Exceptions
-
| void broad.core.math.PermutationDistribution.writeWindowsWithPvalue |
( |
int |
windowSize, |
|
|
String |
outBed |
|
) |
| throws IOException |
Write windows to bed file with scan P value in score field
- Parameters
-
| windowSize | Window size |
| outBed | Output bed file |
- Exceptions
-
The documentation for this class was generated from the following file: