bedplot | R Documentation |
Generates matched sets of files for linkage or association statistics along a chromosome for viewing in the UCSC genome browser from an input file containing a table of marker names, physical positions and one or more statistical scores.
bedplot(bed.data)
bed.data |
File containing a table of marker names, physical position and scores. |
bed.data example:
Marker Position TRAIT_ALL M1 144255 0.670 - 144305 0.640 M3 144355 0.590 - 144378 0.600 M2 144400 0.610
Bedplot creates two types of files: a BED.* file containing a custom
BED annotation track and a BedGraph.* file custom BedGraph annotation
track. These files have the same suffix as the input bed.data file. When
there are multiple scores in bed.data
file, a matched pair of
BedGraph track BED track files is created for each score, labelled with
the score names, as well as the chromosome numbers,
e.g. BedGraph.score1.*
and BED.score1.*
,
BedGraph.score2.*
and BED.score2.*
, etc.
TRUE or FALSE depending on whether runs successfully.
## Not run: bedplot("bed.data.05")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.