Description Usage Arguments Value Examples
View source: R/get_case_mean_coverage.R
Compute the mean coverage of a CASE sample
1 | get_case_mean_coverage(tabindex, pacbamfolder_bychrom)
|
tabindex |
The data.frame output by the |
pacbamfolder_bychrom |
The folder popluted by outputs by the |
The sample.info.file
with an additional column reporting the mean coverage for each case (only for those with a matched-CONTROL)
1 2 3 4 5 6 7 8 9 | sample.info.file <- system.file("extdata", "test_sif_toy.tsv", package = "abemus")
outdir <- tempdir()
targetbed <- system.file("extdata", "regions_toy.bed", package = "abemus")
pacbamfolder_bychrom <- system.file("extdata", "pacbam_data_bychrom", package = "abemus")
pbem_dir <- system.file("extdata", "BaseErrorModel", package = "abemus")
controls_dir <- system.file("extdata", "Controls", package = "abemus")
m<-callsnvs(sample.info.file,outdir,targetbed,pbem_dir,controls_dir,pacbamfolder_bychrom,replicas=1)
tabindex <- m$tabsnvs_index
tabindex <- get_case_mean_coverage(tabindex = tabindex,pacbamfolder_bychrom = pacbamfolder_bychrom)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.