Skip to content

Commit

Permalink
feat: adding some code
Browse files Browse the repository at this point in the history
  • Loading branch information
kopardev committed Sep 30, 2023
1 parent 449559e commit 7efaf22
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
19 changes: 19 additions & 0 deletions R/filter_low_counts.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

#' filter_low_counts
#'
#' @param raw_counts_matrix raw_counts_matrix object
#' @param min_counts integer number of min_counts across all samples, default 0
#' @param min_cpm float minimum cpm value, default 0
#' @param min_cpm_fraction float fraction of samples that need to satisfy min_cpm filter, default 1.0
#'
#' @return filtered_raw_count_matrix
#' @export
#'
#' @examples
filter_low_counts <- function(
raw_counts_matrix,
min_counts = 0,
min_cpm = 0,
min_cpm_fraction = 1.0){

}
14 changes: 14 additions & 0 deletions R/read_raw_counts.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#' read_raw_counts
#'
#' @param pathtofile string absolute file path to raw counts matrix
#' @param delimiter string default is tab
#'
#' @return raw_counts_matrix
#' @export
#'
#' @examples
read_raw_counts <- function(
pathtofile,
delimiter = "\t") {

}

0 comments on commit 7efaf22

Please sign in to comment.