View source: R/QualityControl.R
sumFragmentSingleThread | R Documentation |
Ref: ArchR
Method is run on single core, but the speed should be OK.
No filtering barcodes here unless we provide barcode array ourselves.
Side Effect:
output rawH5File
output sumFragment File (descreasingly ordered by nUniqFrag)
sumFragmentSingleThread( rawH5File, sumFragFile, genome, sampleName = NULL, barcodes = NULL, nChunk = 3, tsseWindow = 101, tsseNorm = 100, tsseFlank = 2000, tsseMinNorm = 0.2, tsseMaxFragSize = NULL )
genome |
string, namely mm9, mm10, hg19 or hg38 |
sampleName |
string, name for the tabix file |
barcodes |
vector of string, limite fragment on specific barcodes |
nChunk |
integer, partition each chrom into nChunk pieces |
tsseWindow |
integer |
tsseNorm |
interger |
tsseFlank |
integer |
tsseMinNorm |
float |
tsseMaxFragSize |
integer |
tabixFile |
string, 10x cell ranger result tab/tab.gz file name |
outfilenm |
string, output file name, if NULL, a default one will be genereated. |
coverH5File |
bool, whether to cover the rawH5File if exists |
data.frame with cols: barcode, nUniqFrag, TSSE, TSSReads
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.