View source: R/Matrix_filter.R
Matrix_filter | R Documentation |
Filter object based on cell number for each SNP, SNP number for each cell, SNP variant allele frequency, and exclude the centromere and telomere regions.
Matrix_filter( Obj = NULL, cell_filter = 5, SNP_filter = 10, min_vaf = 0, max_vaf = 1, centro = NULL, telo = NULL, snp_ind = NULL, plot_stat = TRUE, plot_vaf = TRUE )
Obj |
An Alleloscope object. |
cell_filter |
An integer of minimum cell number for SNP selection. |
SNP_filter |
An integer of minimum SNP number for cell selection. |
min_vaf |
A numerical value in the range (0,1) of minimum SNP variant allele frequency in the pseudo bulk for SNP selection. |
max_vaf |
A numerical value in the range (0,1) of minimum SNP variant allele frequency in the pseudo bulk for SNP selection. |
centro |
A Matrix/ data.frame of centromere information. |
telo |
A Matrix/ data.frame of telomere information. |
snp_ind |
A numeric vector indexing the SNPs to be included. |
plot_stat |
Logical (TRUE/FALSE). Whether or not to plot the summary statistics. |
plot_vaf |
Logical (TRUE/FALSE). Whether or not to plot the variant allele frequency for the pseudo bulk for all the chromosomes. |
A Alleloscope object after the filtering.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.