Skip to content

Commit

Permalink
Changed default min_max_counts_per_cell to select cells with at least…
Browse files Browse the repository at this point in the history
… 100 counts by default.
  • Loading branch information
GeorgescuC committed Jul 20, 2020
1 parent 0e460e1 commit f6d29d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/inferCNV.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ infercnv <- methods::setClass(
#'
#' @param max_cells_per_group maximun number of cells to use per group. Default=NULL, using all cells defined in the annotations_file. This option is useful for randomly subsetting the existing data for a quicker preview run, such as using 50 cells per group instead of hundreds.
#'
#' @param min_max_counts_per_cell minimum and maximum counts allowed per cell. Any cells outside this range will be removed from the counts matrix. default=NULL and uses all cells. If used, should be set as c(min_counts, max_counts)
#' @param min_max_counts_per_cell minimum and maximum counts allowed per cell. Any cells outside this range will be removed from the counts matrix. default=(100, +Inf) and uses all cells. If used, should be set as c(min_counts, max_counts)
#'
#' @param chr_exclude list of chromosomes in the reference genome annotations that should be excluded from analysis. Default = c('chrX', 'chrY', 'chrM')
#'
Expand Down Expand Up @@ -136,7 +136,7 @@ CreateInfercnvObject <- function(raw_counts_matrix,
ref_group_names,
delim="\t",
max_cells_per_group=NULL,
min_max_counts_per_cell=NULL, # can be c(low,high) for colsums
min_max_counts_per_cell=c(100, +Inf), # can be c(low,high) for colsums
chr_exclude=c('chrX', 'chrY', 'chrM') ) {

## input expression data
Expand Down
4 changes: 2 additions & 2 deletions man/CreateInfercnvObject.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f6d29d3

Please sign in to comment.