Description Usage Arguments Value See Also Examples
This is a generic function to plot the histogram of the Length or the Average coverage of the long Frangment Reads within an LFR data set. given the paramter value, two values can be plotted: The fragment length and the fragment average coverage
1 2 3 |
minlength |
Minimum length of a fragment to be considered. Default 10000. |
color |
histogram color. default: black |
main |
The title of the plot. default: None |
x |
an |
Value |
The variable to plot the histogram for . Can be either 'Coverage' either 'length'. default is 'Coverage'. |
”
plotLFRDistribution
, plot.LFRset
, getWells
, getWellLFRset
, getLFRStats
1 2 3 4 5 6 7 8 9 | #Example 1:
wellsID_file=system.file('extdata','wells_id_tissue.txt',package='DigitalPicoTools')
wellsID_list<-unlist(read.table(wellsID_file))
WellSample_list=initsWellSamples(wellsID_list,
BAMprefix=paste(path.package('DigitalPicoTools'),'extdata/',sep='/'))
LFR_Info = getLFRset(WellSample_list,3000)
well1=getWellLFRset(LFR_Info,1)
hist(well1,value='Length')
hist(LFR_Info,value='Coverage', color='magenta',main='test')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.