Description Usage Arguments Value Examples
View source: R/preprocessing_filtering_reduction.R
Remove specific features (CNA, repeats)
1 2 3 4 5 6 | exclude_features_scExp(
scExp,
features_to_exclude,
by = "region",
verbose = TRUE
)
|
scExp |
A SingleCellExperiment object. |
features_to_exclude |
A data.frame containing features to exclude. |
by |
Type of features. Either 'region' or 'feature_name'. If 'region', will look for genomic coordinates in columns 1-3 (chr,start,stop). If 'feature_name', will look for a genes in first column. ('region') |
verbose |
(TRUE) |
A SingleCellExperiment object without features to exclude.
1 2 3 4 5 6 7 8 | scExp = create_scExp(create_scDataset_raw()$mat,create_scDataset_raw()$annot)
features_to_exclude = data.frame(chr=c("chr4","chr7","chr17"),
start=c(50000,8000000,2000000),
end=c(100000,16000000,2500000))
scExp
scExp = exclude_features_scExp(scExp,features_to_exclude)
scExp
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.