Create_mitoTracing.Rd
This function is to create redeemR with basic information
Create_mitoTracing(
GTsummary_list,
depth_list,
feature.list_list,
meta_list,
labels,
thr = "VerySensitive",
qualifiedCellCut = 10,
OnlyHetero = T,
VAFcut = 1,
Cellcut = 2,
maxctscut = 2
)
simply put GTSummary (Generated by CW_mgatk.read) into list, this allows mergeing multiple dataset this way.
simply put depth(Generated by DepthSummary) into list, this allows mergeing multiple dataset this way.
simply put feature.list(Generated by Vfilter_v3) into list, this allows mergeing multiple dataset this way.
a vector of labels for the samples.
One of the following "Total","VerySensitive","Sensitive","Specific"
The minimum median mitochondrial coverage for a qualified cell, default is 10
If only consider the heteroplasmy variants, default is T
only use variants with VAF smaller than VAFcut. Default is 1. We can use smaller value to constrain into only using rare variants
only use variants with at least cellcut cells carry
only use variants with at least in one cell with at leaset maxctscut variant fragments
redeemR class