Modification and manipulation of one-dimensional carbon materials for electronics