-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathassociateBarcodes.Rd
More file actions
40 lines (37 loc) · 1.12 KB
/
associateBarcodes.Rd
File metadata and controls
40 lines (37 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/associateBarcodes.R
\name{associateBarcodes}
\alias{associateBarcodes}
\title{Associate barcode(s) to variants}
\usage{
associateBarcodes(
countTable,
barcodeCol,
variantCol,
countCol = "nbrReads",
minCount = 10,
minFracOfBarcodeCount = 0.5
)
}
\arguments{
\item{countTable}{A data frame containing barcode sequences, variant
sequences and corresponding read counts for each barcode-variant pair.}
\item{barcodeCol, variantCol, countCol}{Character scalars indicating the
names of the columns of \code{countTable} containing barcode
sequences, variant IDs and read counts, respectively.}
\item{minCount}{Numeric scalar. Pairs with fewer reads will be flagged
for exclusion.}
\item{minFracOfBarcodeCount}{Numeric scalar. Pairs where the read count
is lower than \code{minFracOfBarcodeCount} * total barcode count will
be flagged for exclusion.}
}
\value{
A list with two elements: \code{counts} (a data frame with counts)
and \code{plots} (a list of ggplot objects).
}
\description{
Associate barcode(s) to variants
}
\author{
Charlotte Soneson
}