mutFilterReg | R Documentation |
Filter variants not in specific regions.
mutFilterReg(
maf,
bedFile = NULL,
bedHeader = FALSE,
bedFilter = TRUE,
verbose = TRUE
)
maf |
An MAF data frame, generated by |
bedFile |
A bed file that contains region information. Default: NULL |
bedHeader |
Whether the input bed file has a header or not. Default: FALSE. |
bedFilter |
Whether to filter the information in bed file or not, which only leaves segments in Chr1-Ch22, ChrX and ChrY. Default: TRUE |
verbose |
Whether to generate message/notification during the filtration process. Default: TRUE. |
An MAF data frame where some variants have R tag in CaTag column for region filtration.
maf <- vcfToMAF(system.file("extdata", "WES_EA_T_1_mutect2.vep.vcf",
package="CaMutQC"))
mafF <- mutFilterReg(maf, bedFile=system.file("extdata/bed/panel_hg38",
"Pan-cancer-hg38.rds", package="CaMutQC"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.